mirror of https://github.com/coder/coder.git
docs: update variable reference in contributing docs
This commit is contained in:
parent
27d63c36ff
commit
525e0800da
|
@ -152,7 +152,7 @@ example below:
|
||||||
export const getAgentListeningPorts = async (
|
export const getAgentListeningPorts = async (
|
||||||
agentID: string,
|
agentID: string,
|
||||||
): Promise<TypesGen.ListeningPortsResponse> => {
|
): Promise<TypesGen.ListeningPortsResponse> => {
|
||||||
const response = await axios.get(
|
const response = await axiosInstance.get(
|
||||||
`/api/v2/workspaceagents/${agentID}/listening-ports`,
|
`/api/v2/workspaceagents/${agentID}/listening-ports`,
|
||||||
);
|
);
|
||||||
return response.data;
|
return response.data;
|
||||||
|
|
Loading…
Reference in New Issue