fix
This commit is contained in:
parent
586cfbe880
commit
7f51ace0ff
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ export default class extends Endpoint<'antennas/notes'> {
|
||||||
});
|
});
|
||||||
|
|
||||||
if (antenna == null) {
|
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
|
const limit = ps.limit + (ps.untilId ? 1 : 0) + (ps.sinceId ? 1 : 0); // untilIdに指定したものも含まれるため+1
|
||||||
|
|
Loading…
Reference in a new issue