mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 20:23:49 +01:00
refactor
This commit is contained in:
parent
9b2a485543
commit
cbbf8230df
@ -38,7 +38,7 @@ export default define(meta, async (ps, user) => {
|
||||
const app = await Apps.save({
|
||||
id: genId(),
|
||||
createdAt: new Date(),
|
||||
userId: user && user.id,
|
||||
userId: user ? user.id : null,
|
||||
name: ps.name,
|
||||
description: ps.description,
|
||||
permission: ps.permission,
|
||||
|
Loading…
Reference in New Issue
Block a user