cosmicds / cds-api

API for accessing the CosmicDS database
GNU General Public License v3.0
0 stars 3 forks source link

Guard against case where story state is null when filtering class data. #77

Closed Carifio24 closed 1 year ago

Carifio24 commented 1 year ago

In the updates of #76, the ts-ignore used to get around the typing issues from JSON_EXTRACT-ed column meant that I missed a null guard. This PR fixes that.

Note that this should resolve https://github.com/cosmicds/hubbleds/issues/292.