(ctx context.Context, arg database.TouchChatDebugStepAndRunParams)
| 6476 | } |
| 6477 | |
| 6478 | func (q *querier) TouchChatDebugStepAndRun(ctx context.Context, arg database.TouchChatDebugStepAndRunParams) error { |
| 6479 | chat, err := q.db.GetChatByID(ctx, arg.ChatID) |
| 6480 | if err != nil { |
| 6481 | return err |
| 6482 | } |
| 6483 | if err := q.authorizeContext(ctx, policy.ActionUpdate, chat); err != nil { |
| 6484 | return err |
| 6485 | } |
| 6486 | return q.db.TouchChatDebugStepAndRun(ctx, arg) |
| 6487 | } |
| 6488 | |
| 6489 | func (q *querier) TryAcquireLock(ctx context.Context, id int64) (bool, error) { |
| 6490 | return q.db.TryAcquireLock(ctx, id) |
nothing calls this directly
no test coverage detected