refactor: Ensure findById returns null instead of an array when ID is null
#1981
| Job | Run time |
|---|---|
| 42s | |
| 42s |
findById returns null instead of an array when ID is null
#1981
| Job | Run time |
|---|---|
| 42s | |
| 42s |