!refactor(backend): remove API quirks (#11723)

* move action to post endpoint

* use default return code

* remove custom permissions on notifications endpoint

* add api bump

* update link

* fix assertation

* fix test to use post - this was refactored
This commit is contained in:
Matthias Mair authored and GitHub committed 2026-04-13 10:31:08 +10:00
1 parent fc06aa354a
commit 27ce60dea3
6 files changed
+14 -22

No files matched your search

@@ -137,7 +137,7 @@ export function NotificationDrawer({
const markAllAsRead = useCallback(() => {
api
.get(apiUrl(ApiEndpoints.notifications_readall), {
.post(apiUrl(ApiEndpoints.notifications_readall), {
params: {
read: false
}
+1 -1
View File
@@ -26,7 +26,7 @@ export default function NotificationsPage() {
const markAllAsRead = useCallback(() => {
api
.get(apiUrl(ApiEndpoints.notifications_readall), {
.post(apiUrl(ApiEndpoints.notifications_readall), {
params: {
read: false
}