pl-api: fix notification request accepting
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -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' },
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user