0
0

[API] Fix bug

This commit is contained in:
syuilo 2018-11-06 01:51:42 +09:00
parent 2e11f3a843
commit 1235bef038
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69

View File

@ -35,7 +35,7 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => {
const app = await App.insert({
createdAt: new Date(),
userId: user && user._id,
name: name,
name: ps.name,
description: ps.description,
permission: ps.permission,
callbackUrl: ps.callbackUrl,