Skip to content

Commit 888a891

Browse files
committed
fix: repository
1 parent 75a5acb commit 888a891

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/api/FaableApi.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export interface FaableApp {
55
id: string;
66
name: string;
77
url: string;
8+
repository:string
89
}
910

1011
export interface FaableAppRegistry {

src/commands/link/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export const link: CommandModule<object, Options> = {
9898

9999
// Update the app in the API
100100
if (gitUrl) {
101-
await api.updateApp(selectedApp.id, { github_repo: gitUrl });
101+
await api.updateApp(selectedApp.id, { repository: gitUrl });
102102
log.info(`Updated app with github_repo: ${gitUrl}`);
103103
} else {
104104
log.warn("No git remote URL detected. Skipping API update for github_repo.");

0 commit comments

Comments
 (0)