File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
lib/ingestor-api/runtime/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,19 +28,19 @@ def update_collection_summaries(self, collection_id: str) -> None:
2828 )
2929 cur .execute (
3030 "SELECT dashboard.update_collection_default_summaries(%s)" ,
31- collection_id ,
31+ [ collection_id ] ,
3232 )
3333 logger .info ("Updating bbox for collection: {}." .format (collection_id ))
34- cur .execute ("SELECT pgstac.collection_bbox(%s)" , collection_id )
34+ cur .execute ("SELECT pgstac.collection_bbox(%s)" , [ collection_id ] )
3535 logger .info (
3636 "Updating temporal extent for collection: {}." .format (collection_id )
3737 )
3838 cur .execute (
39- "SELECT pgstac.collection_temporal_extent(%s)" , collection_id
39+ "SELECT pgstac.collection_temporal_extent(%s)" , [ collection_id ]
4040 )
4141
4242 def delete_collection (self , collection_id : str ) -> None :
4343 with self .conn .cursor () as cur :
4444 with self .conn .transaction ():
4545 logger .info (f"Deleting collection: { collection_id } ." )
46- cur .execute ("SELECT pgstac.delete_collection(%s);" , ( collection_id ,) )
46+ cur .execute ("SELECT pgstac.delete_collection(%s);" , [ collection_id ] )
You can’t perform that action at this time.
0 commit comments