mirror of
https://github.com/rikkaneko/paste.git
synced 2025-08-11 08:25:33 +01:00
Fix typo
Signed-off-by: Joe Ma <rikkaneko23@gmail.com>
This commit is contained in:
parent
4542a4f519
commit
203a9e4982
3 changed files with 5 additions and 5 deletions
|
@ -359,7 +359,7 @@ router.get('/:uuid/:option?', async (request, env, ctx) => {
|
|||
descriptor.access_n++;
|
||||
ctx.waitUntil(
|
||||
env.PASTE_INDEX.put(uuid, JSON.stringify(descriptor), {
|
||||
expiration: descriptor.expired_at / 1000,
|
||||
expirationTtl: descriptor.expired_at / 1000,
|
||||
})
|
||||
);
|
||||
|
||||
|
@ -383,7 +383,7 @@ router.get('/:uuid/:option?', async (request, env, ctx) => {
|
|||
|
||||
ctx.waitUntil(
|
||||
env.PASTE_INDEX.put(uuid, JSON.stringify(descriptor), {
|
||||
expiration: descriptor.expired_at / 1000,
|
||||
expirationTtl: descriptor.expired_at / 1000,
|
||||
})
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue