Skip to content

Commit

Permalink
chore(backend): update auth apollo client signature timestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurapov committed Feb 10, 2025
1 parent 8a863ed commit a7f6b09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/backend/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export function initIocContainer(
const authLink = setContext((request, { headers }) => {
if (!config.authAdminApiSecret || !config.authAdminApiSignatureVersion)
return { headers }
const timestamp = Math.round(new Date().getTime() / 1000)
const timestamp = Date.now()
const version = config.authAdminApiSignatureVersion

const { query, variables, operationName } = request
Expand Down

0 comments on commit a7f6b09

Please sign in to comment.