We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba2700e commit 4f754a2Copy full SHA for 4f754a2
fitness-web/server/src/routes/validate.js
@@ -1,6 +1,5 @@
1
2
import jwt from "jsonwebtoken";
3
-import config from '../config.json' assert { type: 'json' };
4
5
//validate thata the user is logged in and has a valid token
6
// i signe the token with the user id lije this:
0 commit comments