Skip to content

Commit

Permalink
await async functions
Browse files Browse the repository at this point in the history
  • Loading branch information
patrislav committed Nov 6, 2024
1 parent c90dd18 commit 442e461
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/waas/src/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ export class SequenceWaaS {
}

private async sendIntent(intent: SignedIntent<any>) {
this.updateTimeDrift()
await this.updateTimeDrift()

const sessionId = await this.waas.getSessionId()
if (!sessionId) {
Expand Down Expand Up @@ -548,7 +548,7 @@ export class SequenceWaaS {
}

private async registerSession(intent: SignedIntent<IntentDataOpenSession>, name: string) {
this.updateTimeDrift()
await this.updateTimeDrift()

try {
const res = await this.client.registerSession({ intent, friendlyName: name }, this.headers())
Expand Down

0 comments on commit 442e461

Please sign in to comment.