fixed expiration hopefully
This commit is contained in:
parent
e3104e3cde
commit
9be0b7d316
File diff suppressed because one or more lines are too long
3
index.js
3
index.js
|
@ -78,9 +78,8 @@ async function handler(type, request) {
|
|||
}
|
||||
|
||||
license_token = user_data.USER.OPTIONS.license_token
|
||||
const expiration = user_data.USER.OPTIONS.expiration_timestamp
|
||||
|
||||
await KV.put('license_token', license_token, { expiration: expiration })
|
||||
await KV.put('license_token', license_token, { expirationTtl: 3600 })
|
||||
}
|
||||
|
||||
const url = new URL(request.url)
|
||||
|
|
Loading…
Reference in New Issue