Skip to content

Commit

Permalink
Add success message
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewelwell committed Aug 9, 2024
1 parent d096bff commit cf0cc59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/app_analytics/management/commands/sendapiusagetoinflux.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,5 @@ def handle(

write_api = influxdb_client.write_api(write_options=SYNCHRONOUS)
write_api.write(bucket=bucket_name, record=record)

self.stdout.write(self.style.SUCCESS("Successfully sent data to InfluxDB"))

0 comments on commit cf0cc59

Please sign in to comment.