parent
845fe1c693
commit
2c7eed1fa1
3 changed files with 3 additions and 10 deletions
|
@ -6,7 +6,4 @@ export const apiGetNotificationPolicy = () =>
|
|||
|
||||
export const apiUpdateNotificationsPolicy = (
|
||||
policy: Partial<NotificationPolicyJSON>,
|
||||
) =>
|
||||
apiRequestPut<NotificationPolicyJSON>('/v1/notifications/policy', {
|
||||
data: policy,
|
||||
});
|
||||
) => apiRequestPut<NotificationPolicyJSON>('/v1/notifications/policy', policy);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue