mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
13 lines
283 B
JavaScript
Executable File
13 lines
283 B
JavaScript
Executable File
import * as cache from "m3o/cache";
|
|
|
|
// Delete a value from the cache
|
|
async function DeleteAvalue() {
|
|
let cacheService = new cache.CacheService(process.env.MICRO_API_TOKEN);
|
|
let rsp = await cacheService.delete({
|
|
key: "foo",
|
|
});
|
|
console.log(rsp);
|
|
}
|
|
|
|
await DeleteAvalue();
|