Skip to content

Commit

Permalink
web/satellite: use correct versioning opt in endpoint
Browse files Browse the repository at this point in the history
This change uses the correct endpoint to opt in/out of versioning.

Change-Id: I2f0971a86c593987d2e528caa3d6924dd147e741
  • Loading branch information
wilfred-asomanii authored and andriikotko committed Apr 15, 2024
1 parent 98aaeb3 commit 6c4efde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/satellite/src/api/projects.ts
Expand Up @@ -125,7 +125,7 @@ export class ProjectsHttpApi implements ProjectsApi {
* @throws Error
*/
public async setVersioningOptInStatus(projectId: string, status: 'in' | 'out'): Promise<void> {
const path = `${this.ROOT_PATH}/${projectId}/opt-${status}`;
const path = `${this.ROOT_PATH}/${projectId}/versioning-opt-${status}`;
const response = await this.http.patch(path, null);
if (response.ok) {
return;
Expand Down

0 comments on commit 6c4efde

Please sign in to comment.