Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit e13780d

Browse files
author
Vikas Agarwal
committed
fixed path for metadata around project, projectTypes in this case
1 parent 732bd81 commit e13780d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/handlers/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function* getProjectTypeByKey(key) {
158158
return Promise.reject(new Error('Error retrieving system token'));
159159
}
160160
return yield requestPromise({
161-
url: `${config.get('API_BASE_URL')}/v4/projectTypes/${key}`,
161+
url: `${config.get('API_BASE_URL')}/v4/projects/metadata/projectTypes/${key}`,
162162
headers: {
163163
Authorization: `Bearer ${token}`,
164164
},

0 commit comments

Comments
 (0)