Skip to content

Commit

Permalink
Fix for network user read API
Browse files Browse the repository at this point in the history
  • Loading branch information
karthik-tarento authored Jul 30, 2022
1 parent a4fe951 commit ca25c83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/proxies_v8/proxies_v8.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ proxiesV8.use('/read/content-progres/*',
proxyCreatorSunbirdSearch(express.Router(), `${CONSTANTS.KONG_API_BASE}/course/v1/content/state/read`)
)

proxiesV8.get('/api/user/v2/read', async (req, res) => {
proxiesV8.get(['/api/user/v2/read', '/api/user/v2/read/:id'], async (req, res) => {
const host = req.get('host')
const originalUrl = req.originalUrl
const lastIndex = originalUrl.lastIndexOf('/')
Expand Down

0 comments on commit ca25c83

Please sign in to comment.