Skip to content

Commit a84ed83

Browse files
committed
fix rename fixes on ui
1 parent aa92509 commit a84ed83

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

site/src/api/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,7 +940,7 @@ export const exchangeExternalAuthDevice = async (
940940
};
941941

942942
export const getUserExternalAuthProviders = async (
943-
): Promise<TypesGen.UserExternalAuthResponse> => {
943+
): Promise<TypesGen.ListUserExternalAuthResponse> => {
944944
const resp = await axios.get(`/api/v2/external-auth`);
945945
return resp.data;
946946
};

site/src/pages/UserExternalAuthSettingsPage/UserExternalAuthSettingsPageView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import TableHead from "@mui/material/TableHead";
77
import TableRow from "@mui/material/TableRow";
88
import type {
99
ExternalAuthConfig,
10+
ListUserExternalAuthResponse,
1011
ExternalAuthLinkProvider,
11-
UserExternalAuthResponse,
1212
} from "api/typesGenerated";
1313
import { Alert } from "components/Alert/Alert";
1414
import { ErrorAlert } from "components/Alert/ErrorAlert";
@@ -31,7 +31,7 @@ import {
3131
export type UserExternalAuthSettingsPageViewProps = {
3232
isLoading: boolean;
3333
getAuthsError?: unknown;
34-
auths?: UserExternalAuthResponse;
34+
auths?: ListUserExternalAuthResponse;
3535
onUnlinkExternalAuth: (provider: string) => void;
3636
onValidateExternalAuth: (provider: string) => void;
3737
};

0 commit comments

Comments
 (0)