Skip to content

Commit

Permalink
fix(ui): Fix Patch and Get Manifests (argoproj#13949)
Browse files Browse the repository at this point in the history
Signed-off-by: Geoffrey Muselli <geoffrey.muselli@gmail.com>
  • Loading branch information
speedfl authored Jun 7, 2023
1 parent e233334 commit 739f4a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/app/shared/services/applications-service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,13 +108,14 @@ export class ApplicationsService {
public getManifest(name: string, appNamespace: string, revision: string): Promise<models.ManifestResponse> {
return requests
.get(`/applications/${name}/manifests`)
.query({name, revision})
.query({name, revision, appNamespace})
.then(res => res.body as models.ManifestResponse);
}

public updateSpec(appName: string, appNamespace: string, spec: models.ApplicationSpec): Promise<models.ApplicationSpec> {
return requests
.put(`/applications/${appName}/spec`)
.query({appNamespace})
.send(spec)
.then(res => res.body as models.ApplicationSpec);
}
Expand Down

0 comments on commit 739f4a9

Please sign in to comment.