mirror of
https://github.com/Permissionless-Software-Foundation/x402-base-facilitator.git
synced 2026-09-21 16:52:01 -07:00
Fix config prop name
This commit is contained in:
@@ -11,7 +11,7 @@ export async function ensureUser(ctx, next) {
|
||||
|
||||
let decoded = null
|
||||
try {
|
||||
decoded = verify(token, config.tokenSecret)
|
||||
decoded = verify(token, config.token)
|
||||
} catch (err) {
|
||||
ctx.throw(401)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user