Skip to content

Commit

Permalink
resetting like count
Browse files Browse the repository at this point in the history
  • Loading branch information
wolulcmit committed May 10, 2024
1 parent 41d5fa1 commit 2f1983f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions server/service.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { uuid, Context } from "./deps.ts";

const kv = await Deno.openKv();
await kv.delete(["likes"]);

type Likes = {
value: {
Expand Down
2 changes: 1 addition & 1 deletion src/_data/likes.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export default {
likes: 153
likes: 0
}

0 comments on commit 2f1983f

Please sign in to comment.