Skip to content

feat: added include_deleted to getWorkspaceByOwnerAndName #2164

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 10 commits into from
Jun 8, 2022
Prev Previous commit
Next Next commit
taking out api.ts change for now
  • Loading branch information
Kira-Pilot committed Jun 8, 2022
commit ee1f417fdadf0d6a7f353beb36e439c3ea258be0
4 changes: 1 addition & 3 deletions site/src/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,7 @@ export const getWorkspaceByOwnerAndName = async (
username = "me",
workspaceName: string,
): Promise<TypesGen.Workspace> => {
const response = await axios.get<TypesGen.Workspace>(`/api/v2/users/${username}/workspace/${workspaceName}`, {
params: { include_deleted: true },
})
const response = await axios.get<TypesGen.Workspace>(`/api/v2/users/${username}/workspace/${workspaceName}`)
return response.data
}

Expand Down