Skip to content

Commit

Permalink
Added an debug for set operations
Browse files Browse the repository at this point in the history
  • Loading branch information
onuratakan committed Apr 19, 2024
1 parent 58eb79e commit 92d5b44
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions upsonic/remote/on_prem.py
Original file line number Diff line number Diff line change
Expand Up @@ -820,10 +820,12 @@ def set(
"data": fernet.encrypt(dumped)
}

self._send_request("POST", "/dump", data)
response = self._send_request("POST", "/dump", data)


return True
if response != [None]:
return True
else:
return False

def get(
self,
Expand Down

0 comments on commit 92d5b44

Please sign in to comment.