소스 검색

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;
     }