Revert "refactor: 可読性のため一部でArray.prototype.at
を使うように" (#115)
* Revert "refactor: 可読性のため一部で`Array.prototype.at`を使うように (#11274)"
This reverts commit 2b6dbd4fcb
.
* Apply suggestions from code review
---------
Co-authored-by: okayurisotto <okayurisotto@proton.me>
This commit is contained in:
@@ -76,7 +76,7 @@ export class ExportMutingProcessorService {
|
||||
break;
|
||||
}
|
||||
|
||||
cursor = mutes.at(-1)?.id ?? null;
|
||||
cursor = mutes[mutes.length - 1].id;
|
||||
|
||||
for (const mute of mutes) {
|
||||
const u = await this.usersRepository.findOneBy({ id: mute.muteeId });
|
||||
|
Reference in New Issue
Block a user