Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix rename fixes on ui
  • Loading branch information
Emyrk committed Dec 5, 2023
commit a84ed83ddd84a25e8b986588130708a446cfb649
2 changes: 1 addition & 1 deletion site/src/api/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -940,7 +940,7 @@ export const exchangeExternalAuthDevice = async (
};

export const getUserExternalAuthProviders = async (
): Promise<TypesGen.UserExternalAuthResponse> => {
): Promise<TypesGen.ListUserExternalAuthResponse> => {
const resp = await axios.get(`/api/v2/external-auth`);
return resp.data;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import TableHead from "@mui/material/TableHead";
import TableRow from "@mui/material/TableRow";
import type {
ExternalAuthConfig,
ListUserExternalAuthResponse,
ExternalAuthLinkProvider,
UserExternalAuthResponse,
} from "api/typesGenerated";
import { Alert } from "components/Alert/Alert";
import { ErrorAlert } from "components/Alert/ErrorAlert";
Expand All @@ -31,7 +31,7 @@ import {
export type UserExternalAuthSettingsPageViewProps = {
isLoading: boolean;
getAuthsError?: unknown;
auths?: UserExternalAuthResponse;
auths?: ListUserExternalAuthResponse;
onUnlinkExternalAuth: (provider: string) => void;
onValidateExternalAuth: (provider: string) => void;
};
Expand Down