Settings sync: solved etag mismatch issue.
This was caused by doing a cached request, which would always return the etag of the previous request.
This commit is contained in:
parent
3776246d70
commit
c2363d248b
@ -856,7 +856,8 @@ async def attach_file_to_group(file_path: pathlib.Path,
|
|||||||
group_node_id,
|
group_node_id,
|
||||||
'file',
|
'file',
|
||||||
str(file_path),
|
str(file_path),
|
||||||
extra_where=user_id and {'user': user_id})
|
extra_where=user_id and {'user': user_id},
|
||||||
|
caching=False)
|
||||||
|
|
||||||
return node
|
return node
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user