-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
request: do not append '/j' in RawRequest()
This change moves the prefix of '/j' of the `RawRequest()` to `prepareRequests()` function instead. The prefix is used in Hyprland to indicate that the request needs to return JSON format, and while we always wants JSON format as response, someone using `RawRequest()` directly may not want to do so. While this is a breaking change for users of `RawRequest()`, the impact should be minimal and will allow for more flexibility in future.
- Loading branch information
1 parent
482f29b
commit 4fffa0d
Showing
2 changed files
with
17 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters