From fcfd9239c194e5b9d9beefec5e63fd913579d827 Mon Sep 17 00:00:00 2001
From: syuilo <syuilotan@yahoo.co.jp>
Date: Fri, 6 Jul 2018 00:04:40 +0900
Subject: [PATCH] wip

---
 src/server/api/endpoints/notes/create.ts | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/server/api/endpoints/notes/create.ts b/src/server/api/endpoints/notes/create.ts
index df772b3b30..62eafa5340 100644
--- a/src/server/api/endpoints/notes/create.ts
+++ b/src/server/api/endpoints/notes/create.ts
@@ -10,6 +10,7 @@ export const meta = {
 	desc: {
 		ja: '投稿します。'
 	},
+
 	params: {
 		visibility: $.str.optional.or(['public', 'home', 'followers', 'specified', 'private']).note({
 			default: 'public',
@@ -82,8 +83,10 @@ export const meta = {
 			}
 		})
 	},
+
 	res: {
-		data: {
+		type: 'object',
+		object: {
 			createdNote: {
 				type: 'entity(Note)',
 				desc: {