(ctx context.Context, chatID uuid.UUID)
| 6433 | } |
| 6434 | |
| 6435 | func (q *querier) SoftDeleteContextFileMessages(ctx context.Context, chatID uuid.UUID) error { |
| 6436 | chat, err := q.db.GetChatByID(ctx, chatID) |
| 6437 | if err != nil { |
| 6438 | return err |
| 6439 | } |
| 6440 | if err := q.authorizeContext(ctx, policy.ActionUpdate, chat); err != nil { |
| 6441 | return err |
| 6442 | } |
| 6443 | return q.db.SoftDeleteContextFileMessages(ctx, chatID) |
| 6444 | } |
| 6445 | |
| 6446 | func (q *querier) SoftDeletePriorWorkspaceAgents(ctx context.Context, arg database.SoftDeletePriorWorkspaceAgentsParams) error { |
| 6447 | // Internal bookkeeping called from wsbuilder.Builder.Build inside the |
nothing calls this directly
no test coverage detected