mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 22:14:26 +01:00
Greenfield: Add store id for notifications (#6093)
* Rename filter to storeid for consistency with other filters * Greenfield: Add storeId to notification * Cleanups * Greenfield: Allow filtering notifications by store id
This commit is contained in:
@@ -656,10 +656,10 @@ namespace BTCPayServer.Controllers.Greenfield
|
||||
}
|
||||
|
||||
public override async Task<IEnumerable<NotificationData>> GetNotifications(bool? seen = null,
|
||||
int? skip = null, int? take = null, CancellationToken token = default)
|
||||
int? skip = null, int? take = null, string[] storeId = null, CancellationToken token = default)
|
||||
{
|
||||
return GetFromActionResult<IEnumerable<NotificationData>>(
|
||||
await GetController<GreenfieldNotificationsController>().GetNotifications(seen, skip, take));
|
||||
await GetController<GreenfieldNotificationsController>().GetNotifications(seen, skip, take, storeId));
|
||||
}
|
||||
|
||||
public override async Task<NotificationData> GetNotification(string notificationId,
|
||||
|
||||
Reference in New Issue
Block a user