fix(api): make an empty admin guild patch apply no change (#2538)

This commit is contained in:
Hampus authored and GitHub committed 2026-09-06 18:38:13 +02:00
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