From 7f51ace0ffdc21d2c67dc6dc63871067a4dfd5fb Mon Sep 17 00:00:00 2001 From: tamaina Date: Sun, 4 Jun 2023 15:05:35 +0000 Subject: [PATCH] fix --- packages/backend/src/server/api/endpoints/antennas/notes.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/endpoints/antennas/notes.ts b/packages/backend/src/server/api/endpoints/antennas/notes.ts index 19e45b14c..6a6f15abc 100644 --- a/packages/backend/src/server/api/endpoints/antennas/notes.ts +++ b/packages/backend/src/server/api/endpoints/antennas/notes.ts @@ -35,7 +35,7 @@ export default class extends Endpoint<'antennas/notes'> { }); if (antenna == null) { - throw new ApiError(meta.errors.noSuchAntenna); + throw new ApiError(this.meta.errors.noSuchAntenna); } const limit = ps.limit + (ps.untilId ? 1 : 0) + (ps.sinceId ? 1 : 0); // untilIdに指定したものも含まれるため+1