We previously found cases where collections had an empty name, but it turns out the name field can be null as well. Adjust the validation schema to allow for this. Unfortunately there isn't another field in the same response that contains an alternative name, so just generate a fallback for now.
We previously found cases where collections had an empty name, but it turns out the name field can be
null
as well. Adjust the validation schema to allow for this. Unfortunately there isn't another field in the same response that contains an alternative name, so just generate a fallback for now.Fixes https://github.com/hypothesis/lms/issues/6352.