(ctx context.Context, arg database.FindMatchingPresetIDParams)
| 2526 | } |
| 2527 | |
| 2528 | func (q *querier) FindMatchingPresetID(ctx context.Context, arg database.FindMatchingPresetIDParams) (uuid.UUID, error) { |
| 2529 | _, err := q.GetTemplateVersionByID(ctx, arg.TemplateVersionID) |
| 2530 | if err != nil { |
| 2531 | return uuid.Nil, err |
| 2532 | } |
| 2533 | return q.db.FindMatchingPresetID(ctx, arg) |
| 2534 | } |
| 2535 | |
| 2536 | func (q *querier) GetAIBridgeInterceptionByID(ctx context.Context, id uuid.UUID) (database.AIBridgeInterception, error) { |
| 2537 | return fetch(q.log, q.auth, q.db.GetAIBridgeInterceptionByID)(ctx, id) |
nothing calls this directly
no test coverage detected