hashicorp-forge / hermes

A document management system
Mozilla Public License 2.0
1.8k stars 95 forks source link

People API: Convert `null` result to an empty array #633

Closed jeffdaley closed 5 months ago

jeffdaley commented 5 months ago

Adds logic to convert a {results: null} response from Google's People API into an empty array.

This will make the PeopleSelect show a "no results" message instead of logging an error and continuing to show any previously loaded results.