WebhookLogs delegates to service.WebhookLogs and projects the paginated result. webhook_id is optional. Requires super-admin auth.
(ctx context.Context, req *authorizerv1.WebhookLogsRequest)
| 244 | // WebhookLogs delegates to service.WebhookLogs and projects the paginated |
| 245 | // result. webhook_id is optional. Requires super-admin auth. |
| 246 | func (h *AdminHandler) WebhookLogs(ctx context.Context, req *authorizerv1.WebhookLogsRequest) (*authorizerv1.WebhookLogsResponse, error) { |
| 247 | res, _, err := h.Service.WebhookLogs(ctx, transport.MetaFromGRPC(ctx), &model.ListWebhookLogRequest{ |
| 248 | Pagination: modelPaginationRequest(req.GetPagination()), |
| 249 | WebhookID: req.WebhookId, |
| 250 | }) |
| 251 | if err != nil { |
| 252 | return nil, err |
| 253 | } |
| 254 | return projectWebhookLogs(res), nil |
| 255 | } |
| 256 | |
| 257 | // TestEndpoint delegates to service.TestEndpoint and projects the result. Makes |
| 258 | // an outbound HTTP call to the supplied endpoint. Requires super-admin auth. |
nothing calls this directly
no test coverage detected