Skip to content

Commit

Permalink
refactor: use lower case icon for img
Browse files Browse the repository at this point in the history
  • Loading branch information
ChesterSim committed Jul 5, 2024
1 parent 9133859 commit b7fc09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ router.get('/blinks/deposit', async (req: Request, res: Response) => {
return res.status(400).json({ message: 'Invalid token' });
}

let icon = `${BLINKS_S3_DRIFT_PUBLIC_BUCKET}/deposit-${depositToken}.webp`;
let icon = `${BLINKS_S3_DRIFT_PUBLIC_BUCKET}/deposit-${depositToken.toLowerCase()}.webp`;

try {
const response = await fetch(icon);
Expand Down

0 comments on commit b7fc09f

Please sign in to comment.