Skip to content

Commit

Permalink
swimlane: fix record_delete_all
Browse files Browse the repository at this point in the history
  • Loading branch information
laerfulaolun committed Apr 1, 2024
1 parent f96f7bc commit a1affc1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions automon/integrations/swimlaneWrapper/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ async def record_delete_all(self, appId: str):
url=url
)

if self.requests.status_code == 204 or self.requests.status_code == 404:
return True

return response

async def record_get(self, appId: str, id: str):
Expand Down

0 comments on commit a1affc1

Please sign in to comment.