code update recorded at: 13/01/25 08:15:31
This commit is contained in:
parent
aecb9b1de7
commit
fa1780a61f
|
|
@ -162,7 +162,7 @@ export const handler = async (req, res) => {
|
|||
|
||||
const { command, key, value, ttl, secretData } = body;
|
||||
const client = await getOrCreateConnection({ secretData });
|
||||
console.log("ttl",ttl)
|
||||
console.log("ttl", ttl, ttl || 0)
|
||||
var result
|
||||
if (command === "GET") {
|
||||
result = await client.get(key);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user