Skip to content

Commit

Permalink
chore: add 1s wait in listLabelsForRepo
Browse files Browse the repository at this point in the history
  • Loading branch information
Keyrxng committed Sep 29, 2024
1 parent 534d69a commit 73021cf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/shared/label.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export async function listLabelsForRepo(context: Context): Promise<Label[]> {
});

if (res.length > 0) {
await new Promise((resolve) => setTimeout(resolve, 1000));
return res;
}

Expand Down

0 comments on commit 73021cf

Please sign in to comment.