You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently documents linked to gerrydb views with a total_vap (rather than total_pop) column error because total_pop is hardcoded in the /api/document/{document_id}/total_pop endpoint.
Hot fix this bug by updating get_populations UDF to pull desired column from INFORMATION_SCHEMA. If no population column is present, endpoint should return 404 rather than internal server error.
The text was updated successfully, but these errors were encountered:
Currently documents linked to gerrydb views with a
total_vap
(rather thantotal_pop
) column error becausetotal_pop
is hardcoded in the/api/document/{document_id}/total_pop
endpoint.Hot fix this bug by updating
get_populations
UDF to pull desired column fromINFORMATION_SCHEMA
. If no population column is present, endpoint should return 404 rather than internal server error.The text was updated successfully, but these errors were encountered: