From 49dc995f1ecd016919e014e04b6674c29e2bd1c5 Mon Sep 17 00:00:00 2001 From: tamaina Date: Mon, 15 May 2023 08:45:38 +0000 Subject: [PATCH] :v: --- packages/misskey-js/src/endpoints.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/misskey-js/src/endpoints.ts b/packages/misskey-js/src/endpoints.ts index a33f5ddb0..5895d50ad 100644 --- a/packages/misskey-js/src/endpoints.ts +++ b/packages/misskey-js/src/endpoints.ts @@ -133,7 +133,7 @@ export const endpoints = { required: ['username', 'password'], }, res: { - $ref: '/schemas/User', + $ref: 'https://misskey-hub.net/api/schemas/User', properties: { token: { type: 'string', @@ -226,6 +226,9 @@ export const endpoints = { }, res: { type: 'array', + items: { + $ref: 'https://misskey-hub.net/api/schemas/Ad', + }, }, }], },