AAAAA
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ async function GetAllRecords(domain) {
|
|||||||
if (!prefix) throw new Error("Invalid domain");
|
if (!prefix) throw new Error("Invalid domain");
|
||||||
console.log(`Prefix is ${prefix}`);
|
console.log(`Prefix is ${prefix}`);
|
||||||
const kvs = await client.getAll().prefix(prefix).strings();
|
const kvs = await client.getAll().prefix(prefix).strings();
|
||||||
console.log(`KVs are ${kvs}`);
|
console.log(`KVs are ${JSON.stringify(kvs)}`);
|
||||||
return kvs;
|
return kvs;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user