1
0
Fork 1
mirror of https://example.com synced 2024-11-24 13:26:38 +09:00

chore (minor): remove unused parameter

This commit is contained in:
naskya 2024-01-25 05:25:47 +09:00
parent 290d9fcbc0
commit 4f061a2849
Signed by: naskya
GPG key ID: 712D413B3A9FED5C

View file

@ -17,7 +17,7 @@ export const paramDef = {
required: ["userId", "text"], required: ["userId", "text"],
} as const; } as const;
export default define(meta, paramDef, async (ps, me) => { export default define(meta, paramDef, async (ps) => {
const user = await Users.findOneBy({ id: ps.userId }); const user = await Users.findOneBy({ id: ps.userId });
if (user == null) { if (user == null) {