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 Storj Robot committed Apr 11, 2024
1 parent 3c89056 commit fd13357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/satellite/src/api/projects.ts
Original file line number Diff line number Diff line change
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 fd13357

Please sign in to comment.