Class

NotificationsService

NotificationsService(cookie)

Constructor

# new NotificationsService(cookie)

Creates an instance of NotificationsService.
Parameters:
Name Type Description
cookie string The cookie value.

View Source notifications.service.ts, line 16

Methods

# async getNotifications() → {Promise.<Notifications>}

Retrieves the notifications.

View Source notifications.service.ts, line 24

If an error occurs during the API request.
Error
A promise that resolves to the notifications object.
Promise.<Notifications>