Parcourir la source

Fix minor "await" issue

Leszek Wiesner il y a 4 ans
Parent
commit
5994b6cab5
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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;
     }