mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-23 23:43:09 +02:00
refactor
This commit is contained in:
parent
f7961f34c5
commit
bf472b0c5e
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ export default define(meta, async (ps, user) => {
|
||||||
const app = await Apps.save({
|
const app = await Apps.save({
|
||||||
id: genId(),
|
id: genId(),
|
||||||
createdAt: new Date(),
|
createdAt: new Date(),
|
||||||
userId: user && user.id,
|
userId: user ? user.id : null,
|
||||||
name: ps.name,
|
name: ps.name,
|
||||||
description: ps.description,
|
description: ps.description,
|
||||||
permission: ps.permission,
|
permission: ps.permission,
|
||||||
|
|
Loading…
Reference in a new issue