pl-api: fix notification request accepting

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-03-11 21:47:25 +01:00
parent a778544012
commit 3b2b3057ed

View File

@ -167,7 +167,7 @@ const notifications = (client: PlApiBaseClient) => ({
*/
acceptNotificationRequest: async (notificationRequestId: string) => {
const response = await client.request<EmptyObject>(
`/api/v1/notifications/requests/${notificationRequestId}/dismiss`,
`/api/v1/notifications/requests/${notificationRequestId}/accept`,
{ method: 'POST' },
);