mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-29 03:50:51 +09:00
fix
This commit is contained in:
parent
586cfbe880
commit
7f51ace0ff
@ -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 New Issue
Block a user