mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-18 13:35:42 +09:00
fix(api): make an empty admin guild patch apply no change (#2538)
This commit is contained in:
1 parent
5ef402b8ee
commit
2f159852a7
5 files changed
+15
-10
No files matched your search
@@ -314,7 +314,7 @@ Fluxer evaluates authorisation in two stages and reads the body between them. Th
|
||||
- `guild:update:vanity` is selected by `vanity_url_code`.
|
||||
- `guild:transfer_ownership` is selected by `new_owner_id`.
|
||||
|
||||
A body with no field at all selects `*`, so an account without the wildcard cannot send an empty patch.
|
||||
A body with no field at all selects nothing, so an empty patch applies no change.
|
||||
|
||||
### Path parameters
|
||||
|
||||
|
||||
Reference in new issue
Block a user