Skip to content

Commit 9a1155d

Browse files
authored
Merge pull request #185 from Sourav-Tekdi/endpoint_name_change
end point changes
2 parents 4dcb539 + 347ed15 commit 9a1155d

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/common/middleware/apiConfig.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1526,7 +1526,7 @@ export const apiList = {
15261526
'/collection/v4/unlisted/publish/:identifier': createRouteObject(
15271527
{
15281528
post: {
1529-
ROLE_CHECK: rolesGroup.admin_team_leader,
1529+
// ROLE_CHECK: rolesGroup.admin_team_leader,
15301530
},
15311531
},
15321532
'/collection/v4/unlisted/publish/:identifier',
@@ -1688,6 +1688,7 @@ export const publicAPI = [
16881688
'/user/v1/presigned-url',
16891689
'/action/assessment/v3/items/read/:identifier',
16901690
'/action/content/v3/read/:identifier',
1691+
'/collection/v4/unlisted/publish/:identifier',
16911692
];
16921693

16931694
// api which required academic year

src/common/middleware/middleware.service.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ export class MiddlewareServices {
265265
'/api/content': 'CONTENT_SERVICE',
266266
'/action/license': 'CONTENT_SERVICE',
267267
'/action/collection': 'CONTENT_SERVICE',
268+
'/collection': 'CONTENT_SERVICE',
268269
'/api/course/': 'CONTENT_SERVICE',
269270
'/action/assessment': 'ASSESSMENT_SERVICE',
270271
};

0 commit comments

Comments
 (0)