(ctx context.Context)
| 1943 | } |
| 1944 | |
| 1945 | func (q *querier) DeleteAllWebpushSubscriptions(ctx context.Context) error { |
| 1946 | if err := q.authorizeContext(ctx, policy.ActionDelete, rbac.ResourceWebpushSubscription); err != nil { |
| 1947 | return err |
| 1948 | } |
| 1949 | return q.db.DeleteAllWebpushSubscriptions(ctx) |
| 1950 | } |
| 1951 | |
| 1952 | func (q *querier) DeleteApplicationConnectAPIKeysByUserID(ctx context.Context, userID uuid.UUID) error { |
| 1953 | // TODO: This is not 100% correct because it omits apikey IDs. |
nothing calls this directly
no test coverage detected