Skip to content

Commit

Permalink
fix(api): pass refreshJwt to deleteSession on logout() (#3530)
Browse files Browse the repository at this point in the history
fix: set refreshJwt
  • Loading branch information
TatsuyaYamamoto authored Feb 14, 2025
1 parent 6ea9c96 commit eb83ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/api/src/atp-agent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ export class CredentialSession implements SessionManager {
try {
await this.server.deleteSession(undefined, {
headers: {
authorization: `Bearer ${this.session.accessJwt}`,
authorization: `Bearer ${this.session.refreshJwt}`,
},
})
} catch {
Expand Down

0 comments on commit eb83ae1

Please sign in to comment.