fix(backend): fix admin/get-user-ips error

This commit is contained in:
syuilo 2023-10-18 15:32:35 +09:00
parent 3c5bcdd7b3
commit 6b7efb6f1d

View File

@ -41,7 +41,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
return ips.map(x => ({ return ips.map(x => ({
ip: x.ip, ip: x.ip,
createdAt: this.idService.parse(x.id).date.toISOString(), createdAt: x.createdAt.toISOString(),
})); }));
}); });
} }