nameRequestsController: `ids.size === 0` => `!ids.size`

This commit is contained in:
Alex Gleason 2024-06-13 23:47:12 +00:00
parent 44fe0c5e1d
commit 5658c5db08
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ export const nameRequestsController: AppController = async (c) => {
}
}
if (ids.size === 0) {
if (!ids.size) {
return c.json([]);
}