mirror of
https://github.com/Permissionless-Software-Foundation/x402-base-facilitator.git
synced 2026-09-21 16:52:01 -07:00
Fix token name
This commit is contained in:
@@ -11,7 +11,7 @@ router.post('/', async (ctx, next) =>
|
||||
ctx.throw(401)
|
||||
}
|
||||
|
||||
const token = jwt.sign({ id: user.id }, config.tokenSecret)
|
||||
const token = jwt.sign({ id: user.id }, config.token)
|
||||
|
||||
const response = user.toJSON()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user