chore: add workspace id filter on api (#12483)

* chore: add workspace id filter on api
This commit is contained in:
Steven Masley
2024-03-11 11:37:15 -05:00
committed by GitHub
parent 8f40ee3465
commit e3051dff0c
7 changed files with 84 additions and 17 deletions

View File

@ -221,6 +221,7 @@ func (q *sqlQuerier) GetAuthorizedWorkspaces(ctx context.Context, arg GetWorkspa
arg.OwnerUsername,
arg.TemplateName,
pq.Array(arg.TemplateIDs),
pq.Array(arg.WorkspaceIds),
arg.Name,
arg.HasAgent,
arg.AgentInactiveDisconnectTimeoutSeconds,