Skip to content

Commit 610ea27

Browse files
authored
fix: correct mismatch in typescript repository model (argoproj#25273) (argoproj#25274)
Signed-off-by: Allan Yung <allan.yung@bbdsoftware.com>
1 parent 17b98d9 commit 610ea27

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ui/src/app/settings/components/repos-list/repos-list.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ export const ReposList = ({match, location}: RouteComponentProps) => {
308308

309309
// only connections of git type which is not via GitHub App are updatable
310310
const isRepoUpdatable = (repo: models.Repository) => {
311-
return isHTTPOrHTTPSUrl(repo.repo) && repo.type === 'git' && !repo.githubAppId;
311+
return isHTTPOrHTTPSUrl(repo.repo) && repo.type === 'git' && !repo.githubAppID;
312312
};
313313

314314
// Forces a reload of configured repositories, circumventing the cache

ui/src/app/shared/models.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ export interface Repository {
653653
noProxy?: string;
654654
insecure?: boolean;
655655
enableLfs?: boolean;
656-
githubAppId?: string;
656+
githubAppID?: string;
657657
forceHttpBasicAuth?: boolean;
658658
insecureOCIForceHttp?: boolean;
659659
enableOCI: boolean;

0 commit comments

Comments
 (0)