Skip to content

Commit

Permalink
Correção na grafia do username
Browse files Browse the repository at this point in the history
  • Loading branch information
rtenorioh committed Oct 28, 2024
1 parent 9f68ed8 commit d4b65bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/helpers/CreateTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const createAccessToken = (user: User): string => {
const { secret, expiresIn } = authConfig;

return sign(
{ usarname: user.name, profile: user.profile, id: user.id },
{ username: user.name, profile: user.profile, id: user.id },
secret,
{
expiresIn
Expand Down

0 comments on commit d4b65bf

Please sign in to comment.