mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
nameRequestsController: ids.size === 0 => !ids.size
This commit is contained in:
parent
44fe0c5e1d
commit
5658c5db08
1 changed files with 1 additions and 1 deletions
|
|
@ -126,7 +126,7 @@ export const nameRequestsController: AppController = async (c) => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ids.size === 0) {
|
if (!ids.size) {
|
||||||
return c.json([]);
|
return c.json([]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue