diff --git a/kowalski/alert_brokers/alert_broker_ztf.py b/kowalski/alert_brokers/alert_broker_ztf.py index 6c9b40f3..4d420dd7 100644 --- a/kowalski/alert_brokers/alert_broker_ztf.py +++ b/kowalski/alert_brokers/alert_broker_ztf.py @@ -525,7 +525,7 @@ def alert_put_photometry(self, alert): try: response = self.api_skyportal( "PUT", - f"/api/photometry{'?ignore_flux_deduplication=true&ignore_flux_deduplication_replace=true' if is_fp else ''}", + f"/api/photometry{'?duplicate_ignore_flux=true&overwrite_flux=true' if is_fp else ''}", photometry, timeout=15, )