From 1235bef0383f43862001c5eba2ba7a45a9476619 Mon Sep 17 00:00:00 2001 From: syuilo Date: Tue, 6 Nov 2018 01:51:42 +0900 Subject: [PATCH] [API] Fix bug --- src/server/api/endpoints/app/create.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/api/endpoints/app/create.ts b/src/server/api/endpoints/app/create.ts index af66bb9d5a..4766668eaa 100644 --- a/src/server/api/endpoints/app/create.ts +++ b/src/server/api/endpoints/app/create.ts @@ -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,