Skip to content

Commit 301130b

Browse files
lukas-reinekeaynik
authored andcommitted
T-353 remove refresh token variable check
1 parent 0f68a1b commit 301130b

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
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 & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,7 @@ export class Cinnamon {
145145
headers?: Headers;
146146
token?: string;
147147
}): Promise<APIResult<T, U>> {
148-
if (!get(variables, 'input.refreshToken')) {
149-
await this.refreshTokenRequest;
150-
}
148+
await this.refreshTokenRequest;
151149

152150
const response = await fetch(this.config.url, {
153151
method: 'POST',

0 commit comments

Comments
 (0)