code update recorded at: 13/01/25 08:15:31

This commit is contained in:
Sameer Dev 2025-01-13 08:15:31 +00:00
parent aecb9b1de7
commit fa1780a61f

View File

@ -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);