@@ -25,7 +25,7 @@ class BaseFileManager(ABC):
if headers is None:
headers = {}
resp = requests.put(url, data=raw, headers=headers)
if resp.status_code != 201 or resp.status_code != 200:
if resp.status_code not in [201, 200]:
return {}
return resp.json()
The note is not visible to the blocked user.