Skip to content

Commit

Permalink
fix: correctly lowercase username display in social card
Browse files Browse the repository at this point in the history
  • Loading branch information
0-vortex committed Apr 19, 2023
1 parent af87daf commit fc9211c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/social-card/social-card.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class SocialCardController {
return res.status(HttpStatus.FOUND).redirect(fileUrl);
}

const url = await this.socialCardService.getUserCard(username);
const url = await this.socialCardService.getUserCard(sanitizedUsername);

return res.status(HttpStatus.FOUND).redirect(url);
}
Expand Down

0 comments on commit fc9211c

Please sign in to comment.