this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix delete constant

+4 -4
+2 -2
src/constants.ts
··· 4 4 export const SIGNING_KEY = process.env.SIGNING_KEY ?? ""; 5 5 export const PORT = 4001; 6 6 export const LABEL_LIMIT = 4; 7 - export const DELETE_POST = "delete"; 7 + export const DELETE = "delete"; 8 8 export const POSTS: Record<string, string> = { 9 - "3kwsqucto3j2a": "delete", 9 + "3kwsqucto3j2a": DELETE, 10 10 "3kwss4ldkwd2j": "they", 11 11 "3kwss4fmiow2n": "it", 12 12 "3kwss4bzqlw2k": "he",
+2 -2
src/label.ts
··· 5 5 LABEL_LIMIT, 6 6 POSTS, 7 7 SIGNING_KEY, 8 - DELETE_POST, 8 + DELETE, 9 9 } from "./constants.js"; 10 10 import { LabelerServer } from "@skyware/labeler"; 11 11 ··· 38 38 return set; 39 39 }, new Set<string>()); 40 40 41 - if (POSTS[uri]?.includes(DELETE_POST)) { 41 + if (POSTS[uri]?.includes(DELETE)) { 42 42 await server 43 43 .createLabels({ uri: did }, { negate: [...labels] }) 44 44 .catch((err) => {