瀏覽代碼

Fix minor "await" issue

Leszek Wiesner 4 年之前
父節點
當前提交
5994b6cab5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pioneer/packages/joy-utils/src/transport/proposals.ts

+ 1 - 1
pioneer/packages/joy-utils/src/transport/proposals.ts

@@ -193,7 +193,7 @@ export default class ProposalsTransport extends BaseTransport {
 
     // Just in case there were multiple posts created in this block...
     for (const postId of postIds) {
-      const foundPostKey = await this.proposalsDiscussion.postThreadIdByPostId.key(post.thread_id, postId);
+      const foundPostKey = this.proposalsDiscussion.postThreadIdByPostId.key(post.thread_id, postId);
       if (foundPostKey === storageKey) return postId;
     }