Skip to content

Commit 0f68a1b

Browse files
lukas-reinekeaynik
authored andcommitted
T-353 clean up promise
1 parent f0fa733 commit 0f68a1b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

index.node.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

index.web.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export class Cinnamon {
176176
}).then(() => null);
177177
}
178178

179-
await this.refreshTokenRequest;
179+
this.refreshTokenRequest = await this.refreshTokenRequest;
180180
return this.api({ query, variables, headers, token });
181181
}
182182
throw new CinnamonError(

0 commit comments

Comments
 (0)