mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-29 07:18:08 +09:00
[API] Fix bug
This commit is contained in:
parent
edb8f337e4
commit
cfa16aca53
@ -35,7 +35,7 @@ export default define(meta, (ps, user) => new Promise(async (res, rej) => {
|
|||||||
const app = await App.insert({
|
const app = await App.insert({
|
||||||
createdAt: new Date(),
|
createdAt: new Date(),
|
||||||
userId: user && user._id,
|
userId: user && user._id,
|
||||||
name: name,
|
name: ps.name,
|
||||||
description: ps.description,
|
description: ps.description,
|
||||||
permission: ps.permission,
|
permission: ps.permission,
|
||||||
callbackUrl: ps.callbackUrl,
|
callbackUrl: ps.callbackUrl,
|
||||||
|
Loading…
Reference in New Issue
Block a user