Skip to content

Commit

Permalink
r legger til proxy mot dialog/egenvurdering
Browse files Browse the repository at this point in the history
  • Loading branch information
zrrrzzt committed Feb 8, 2023
1 parent fe8cec2 commit 5ea379f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/api/ptoproxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,19 @@ function ptoProxy(ptoProxyUrl = config.PTO_PROXY_URL) {
*/
router.post('/dialog', proxyHttpCall(`${ptoProxyUrl}/veilarbdialog/api/dialog`));

/**
* @openapi
* /dialog/egenvurdering:
* post:
* description: Oppretter ny dialog i dialogløsningen og setter den til ferdig behandlet
* responses:
* 200:
* $ref: '#/components/schemas/Ok'
* 401:
* $ref: '#/components/schemas/Unauthorized'
*/
router.post('/dialog/egenvurdering', proxyHttpCall(`${ptoProxyUrl}/veilarbdialog/api/dialog/egenvurdering`));

/**
* @openapi
* /vedtakinfo/besvarelse:
Expand Down

0 comments on commit 5ea379f

Please sign in to comment.