瀏覽代碼

:pencil2: Removed unnecessary async call

tags/0.0.3^2
tomit4 3 年之前
父節點
當前提交
02cbba85b8
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      backend/lib/routes/membership/reveal.js

+ 1
- 1
backend/lib/routes/membership/reveal.js 查看文件

@@ -58,7 +58,7 @@ module.exports = {
58 58
                 // TODO: Check if there are multiple matching tags(?)(there shouldn't be)
59 59
                 const returnedTag = () => {
60 60
                     let matchingTag
61
-                    tags.forEach(async (tagAssoc) => {
61
+                    tags.forEach(tagAssoc => {
62 62
                         if (tagAssoc.grouping_id === grouping_id &&
63 63
                             tagAssoc.profile_id === profile_id &&
64 64
                             tagAssoc.tag_id === tag_id) {

Loading…
取消
儲存