Skip to content

Commit

Permalink
fix(notifications): jwt middleware
Browse files Browse the repository at this point in the history
  • Loading branch information
manuandru committed May 23, 2024
1 parent f079ebf commit a123a72
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ declare global {
}
}

const ACCESS_TOKEN_SECRET = process.env["ACCESS_TOKEN_SECRET"] || "access";
const REFRESH_TOKEN_SECRET = process.env["REFRESH_TOKEN_SECRET"] || "refresh";
const ACCESS_TOKEN_SECRET =
process.env["ACCESS_TOKEN_SECRET"] || "pleaseChangeThisSecretForANewOne";
const REFRESH_TOKEN_SECRET =
process.env["REFRESH_TOKEN_SECRET"] || "pleaseChangeThisSecretForANewOne";

/**
* Generate a JWT Access Token for the user
Expand Down

0 comments on commit a123a72

Please sign in to comment.