mirror of
https://example.com
synced 2024-11-24 11:26:39 +09:00
chore (minor): remove unused parameter
This commit is contained in:
parent
290d9fcbc0
commit
4f061a2849
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue