feat: getWorkspaces filter site api (#1564)

This commit is contained in:
G r e y
2022-05-19 12:08:55 -04:00
committed by GitHub
parent 0438430c7c
commit 67333b6186
5 changed files with 41 additions and 10 deletions
+1 -1
View File
@@ -194,7 +194,7 @@ func (f WorkspaceFilter) asRequestOption() requestOption {
q.Set("organization_id", f.OrganizationID.String())
}
if f.Owner != "" {
q.Set("owner_id", f.Owner)
q.Set("owner", f.Owner)
}
r.URL.RawQuery = q.Encode()
}