From 5c03b19b151997692210f16d5b80f8add78353bd Mon Sep 17 00:00:00 2001 From: Hugo Dutka Date: Wed, 18 Jun 2025 17:10:27 +0000 Subject: [PATCH] fix --- coderd/database/dbmem/dbmem.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coderd/database/dbmem/dbmem.go b/coderd/database/dbmem/dbmem.go index 60e8c7be4ecdd..c1cb158c90d18 100644 --- a/coderd/database/dbmem/dbmem.go +++ b/coderd/database/dbmem/dbmem.go @@ -8500,7 +8500,7 @@ func (q *FakeQuerier) HasTemplateVersionsWithAITask(_ context.Context) (bool, er defer q.mutex.RUnlock() for _, templateVersion := range q.templateVersions { - if templateVersion.HasAITask { + if templateVersion.HasAITask.Valid && templateVersion.HasAITask.Bool { return true, nil } } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy