Skip to content

Commit fa8f999

Browse files
committed
refactor: add comment to coderd/database/dbmem/dbmem.go
1 parent 3e5e40d commit fa8f999

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

coderd/database/dbmem/dbmem.go

+1
Original file line numberDiff line numberDiff line change
@@ -13021,6 +13021,7 @@ func (q *FakeQuerier) GetAuthorizedTemplates(ctx context.Context, arg database.G
1302113021
if arg.ExactName != "" && !strings.EqualFold(template.Name, arg.ExactName) {
1302213022
continue
1302313023
}
13024+
// Check if the search query filter 'Deprecated' status matches the template's 'Deprecated' status
1302413025
if arg.Deprecated.Valid && arg.Deprecated.Bool != (template.Deprecated != "") {
1302513026
continue
1302613027
}

0 commit comments

Comments
 (0)