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