nameRequestsController: `ids.size === 0` => `!ids.size`
This commit is contained in:
parent
44fe0c5e1d
commit
5658c5db08
|
@ -126,7 +126,7 @@ export const nameRequestsController: AppController = async (c) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ids.size === 0) {
|
if (!ids.size) {
|
||||||
return c.json([]);
|
return c.json([]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue