(ctx context.Context, id uuid.UUID)
| 3558 | } |
| 3559 | |
| 3560 | func (q *querier) GetInboxNotificationByID(ctx context.Context, id uuid.UUID) (database.InboxNotification, error) { |
| 3561 | return fetchWithAction(q.log, q.auth, policy.ActionRead, q.db.GetInboxNotificationByID)(ctx, id) |
| 3562 | } |
| 3563 | |
| 3564 | func (q *querier) GetInboxNotificationsByUserID(ctx context.Context, userID database.GetInboxNotificationsByUserIDParams) ([]database.InboxNotification, error) { |
| 3565 | return fetchWithPostFilter(q.auth, policy.ActionRead, q.db.GetInboxNotificationsByUserID)(ctx, userID) |
nothing calls this directly
no test coverage detected