1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-24 15:16:21 +09:00
This commit is contained in:
syuilo 2019-04-13 19:36:57 +09:00
parent f7961f34c5
commit bf472b0c5e
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -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,