We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c27d4cf commit aacfea5Copy full SHA for aacfea5
src/api/Modules.ts
@@ -125,6 +125,8 @@ export class Modules extends BaseResource {
125
* Unarchive a module
126
*/
127
async unArchiveModule(workspaceSlug: string, projectId: string, moduleId: string): Promise<void> {
128
- return this.post<void>(`/workspaces/${workspaceSlug}/projects/${projectId}/modules/${moduleId}/unarchive/`);
+ return this.httpDelete(
129
+ `/workspaces/${workspaceSlug}/projects/${projectId}/archived-modules/${moduleId}/unarchive/`
130
+ );
131
}
132
0 commit comments