Skip to content

Commit

Permalink
type change
Browse files Browse the repository at this point in the history
  • Loading branch information
AydanPirani committed Feb 18, 2024
1 parent 15b0acc commit 4284c2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/profile/profile-router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ profileRouter.delete("/", strongJwtVerification, async (_: Request, res: Respons
*/

profileRouter.post("/addpoints", strongJwtVerification, async (req: Request, res: Response, next: NextFunction) => {
const points = req.body.points;
const points: number = req.body.points;
const userId: string = req.body.userId;

const payload: JwtPayload = res.locals.payload as JwtPayload;
Expand Down

0 comments on commit 4284c2d

Please sign in to comment.