refactor: Ensure findById returns null instead of an array when ID is null
#2272
| Job | Run time |
|---|---|
| 24s | |
| 27s | |
| 51s |
findById returns null instead of an array when ID is null
#2272
| Job | Run time |
|---|---|
| 24s | |
| 27s | |
| 51s |