mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-28 04:23:08 +02:00
[API] Fix bug
This commit is contained in:
parent
2e11f3a843
commit
1235bef038
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue