Bläddra i källkod

Fix minor "await" issue

Leszek Wiesner 4 år sedan
förälder
incheckning
5994b6cab5
1 ändrade filer med 1 tillägg och 1 borttagningar
  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;
     }