Ver Fonte

Fix minor "await" issue

Leszek Wiesner há 4 anos atrás
pai
commit
5994b6cab5
1 ficheiros alterados com 1 adições e 1 exclusões
  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;
     }