mirror of
https://github.com/AutoMaker-Org/automaker.git
synced 2026-02-02 20:43:36 +00:00
fix: address pr comments
This commit is contained in:
@@ -1613,7 +1613,8 @@ export class HttpApiClient implements ElectronAPI {
|
||||
getPRInfo: (worktreePath: string, branchName: string) =>
|
||||
this.post('/api/worktree/pr-info', { worktreePath, branchName }),
|
||||
// Init script methods
|
||||
getInitScript: (projectPath: string) => this.post('/api/worktree/init-script', { projectPath }),
|
||||
getInitScript: (projectPath: string) =>
|
||||
this.get(`/api/worktree/init-script?projectPath=${encodeURIComponent(projectPath)}`),
|
||||
setInitScript: (projectPath: string, content: string) =>
|
||||
this.put('/api/worktree/init-script', { projectPath, content }),
|
||||
deleteInitScript: (projectPath: string) =>
|
||||
|
||||
Reference in New Issue
Block a user