From aacfea5bb82e78a52449a2c81556b3d81913b1ba Mon Sep 17 00:00:00 2001 From: Surya Prashanth Date: Wed, 26 Nov 2025 20:22:44 +0530 Subject: [PATCH 1/2] fix: use delete method for unarchive module --- src/api/Modules.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/api/Modules.ts b/src/api/Modules.ts index 4b5c1b6..989843c 100644 --- a/src/api/Modules.ts +++ b/src/api/Modules.ts @@ -125,6 +125,8 @@ export class Modules extends BaseResource { * Unarchive a module */ async unArchiveModule(workspaceSlug: string, projectId: string, moduleId: string): Promise { - return this.post(`/workspaces/${workspaceSlug}/projects/${projectId}/modules/${moduleId}/unarchive/`); + return this.httpDelete( + `/workspaces/${workspaceSlug}/projects/${projectId}/archived-modules/${moduleId}/unarchive/` + ); } } From 37f1280ff3c211a9551b2a725a49d8e27d727286 Mon Sep 17 00:00:00 2001 From: Surya Prashanth Date: Thu, 27 Nov 2025 15:51:12 +0530 Subject: [PATCH 2/2] bump version to 0.2.2 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 176db08..9c59f2c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@makeplane/plane-node-sdk", - "version": "0.2.1", + "version": "0.2.2", "description": "Node SDK for Plane", "author": "Plane ", "repository": {