Skip to content

Commit faaf301

Browse files
committed
Fix outdated naming in api.ts
1 parent fe390b5 commit faaf301

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site/src/api/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ export const updateTemplateACL = async (
667667
}
668668

669669
export const getApplicationsHost =
670-
async (): Promise<TypesGen.GetAppHostResponse> => {
670+
async (): Promise<TypesGen.AppHostResponse> => {
671671
const response = await axios.get(`/api/v2/applications/host`)
672672
return response.data
673673
}
@@ -718,7 +718,7 @@ export const getWorkspaceQuota = async (
718718

719719
export const getAgentListeningPorts = async (
720720
agentID: string,
721-
): Promise<TypesGen.ListeningPortsResponse> => {
721+
): Promise<TypesGen.WorkspaceAgentListeningPortsResponse> => {
722722
const response = await axios.get(
723723
`/api/v2/workspaceagents/${agentID}/listening-ports`,
724724
)

0 commit comments

Comments
 (0)