Add new interest pause and list existing interest pause periods of the loan
This commit is contained in:
committed by
Jose Alberto Hernandez
parent
a6455212fd
commit
d04890fd3f
@@ -21,8 +21,8 @@ export class NotificationsService {
|
||||
/**
|
||||
* @returns {Observable<any>} Notifications.
|
||||
*/
|
||||
getNotifications(isRead: boolean): Observable<any> {
|
||||
const httpParams = new HttpParams().set('isRead', isRead.toString());
|
||||
getNotifications(isRead: boolean, limit: number): Observable<any> {
|
||||
const httpParams = new HttpParams().set('isRead', isRead.toString()).set('limit', limit);
|
||||
return this.http.get('/notifications', { params: httpParams });
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user