Skip to content

Commit

Permalink
Fixed incorrect function arguments (#176)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogsilva authored Jul 23, 2024
1 parent d5c9f91 commit 3738a64
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions arpav_ppcv/webapp/api_v2/routers/coverages.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def get_coverage_configuration(
db_session, coverage_configuration_id
)
allowed_coverage_identifiers = db.generate_coverage_identifiers(
db_session, coverage_configuration=db_coverage_configuration
coverage_configuration=db_coverage_configuration
)
return coverage_schemas.CoverageConfigurationReadDetail.from_db_instance(
db_coverage_configuration, allowed_coverage_identifiers, request
Expand Down Expand Up @@ -408,7 +408,7 @@ def get_climate_barometer_time_series(
)
) is not None:
allowed_cov_ids = db.generate_coverage_identifiers(
db_session, coverage_configuration=db_cov_conf
coverage_configuration=db_cov_conf
)
if coverage_identifier in allowed_cov_ids:
coverage = CoverageInternal(
Expand Down Expand Up @@ -481,7 +481,7 @@ def get_time_series(
)
) is not None:
allowed_cov_ids = db.generate_coverage_identifiers(
db_session, coverage_configuration=db_cov_conf
coverage_configuration=db_cov_conf
)
if coverage_identifier in allowed_cov_ids:
coverage = CoverageInternal(
Expand Down

0 comments on commit 3738a64

Please sign in to comment.