Apply suggestion from code review
This commit is contained in:
parent
2df4eda88f
commit
b093c269c7
@ -726,7 +726,7 @@ class DocumentSerializer(
|
||||
context.get("request").method == "PATCH"
|
||||
or context.get("request").method == "PUT"
|
||||
):
|
||||
kwargs.__setitem__("full_perms", True)
|
||||
kwargs["full_perms"] = True
|
||||
|
||||
super().__init__(*args, **kwargs)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user