(ctx context.Context, arg database.UpdateChatDebugStepParams)
| 6623 | } |
| 6624 | |
| 6625 | func (q *querier) UpdateChatDebugStep(ctx context.Context, arg database.UpdateChatDebugStepParams) (database.ChatDebugStep, error) { |
| 6626 | chat, err := q.db.GetChatByID(ctx, arg.ChatID) |
| 6627 | if err != nil { |
| 6628 | return database.ChatDebugStep{}, err |
| 6629 | } |
| 6630 | if err := q.authorizeContext(ctx, policy.ActionUpdate, chat); err != nil { |
| 6631 | return database.ChatDebugStep{}, err |
| 6632 | } |
| 6633 | return q.db.UpdateChatDebugStep(ctx, arg) |
| 6634 | } |
| 6635 | |
| 6636 | func (q *querier) UpdateChatHeartbeats(ctx context.Context, arg database.UpdateChatHeartbeatsParams) ([]uuid.UUID, error) { |
| 6637 | // The batch heartbeat is a system-level operation filtered by |
nothing calls this directly
no test coverage detected