8000 add back a function that went missing somehow · coder/coder@ec57690 · GitHub
[go: up one dir, main page]

Skip to content

Commit ec57690

Browse files
committed
add back a function that went missing somehow
1 parent 18412e0 commit ec57690

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

coderd/database/dbmem/dbmem.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6979,6 +6979,11 @@ func (q *FakeQuerier) GetWorkspaces(ctx context.Context, arg database.GetWorkspa
69796979
return workspaceRows, err
69806980
}
69816981

6982+
func (q *FakeQuerier) GetWorkspacesAndAgentsByOwnerID(ctx context.Context, ownerID uuid.UUID) ([]database.GetWorkspacesAndAgentsByOwnerIDRow, error) {
6983+
// No auth filter.
6984+
return q.GetAuthorizedWorkspacesAndAgentsByOwnerID(ctx, ownerID, nil)
6985+
}
6986+
69826987
func (q *FakeQuerier) GetWorkspacesByTemplateID(_ context.Context, templateID uuid.UUID) ([]database.WorkspaceTable, error) {
69836988
q.mutex.RLock()
69846989
defer q.mutex.RUnlock()

0 commit comments

Comments
 (0)
0