Skip to content

Commit

Permalink
hode propeider profile sync (#454)
Browse files Browse the repository at this point in the history
  • Loading branch information
ersumanta authored Mar 26, 2024
1 parent 033d948 commit 1d0ff18
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
5 changes: 3 additions & 2 deletions src/app/organisations/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ const users = (csrf) => {

router.get('/', csrf, asyncWrapper(search.get));
router.post('/', csrf, asyncWrapper(search.post));
router.get('/run-pp-sync', csrf, asyncWrapper(getppsyncStatus));
router.post('/run-pp-sync', csrf, asyncWrapper(postppsyncStatus));
// DO NOT UNCOMMENT
// router.get('/run-pp-sync', csrf, asyncWrapper(getppsyncStatus));
// router.post('/run-pp-sync', csrf, asyncWrapper(postppsyncStatus));


router.get('/:id', (req, res) => {
Expand Down
6 changes: 0 additions & 6 deletions src/app/organisations/views/search.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,6 @@ const organisationStatusesQuery = locals.organisationStatuses.filter(x => x.isSe
</form>
</div>
<div class="col-4 pull-right">
<aside>
<h2 class="heading-medium">Actions</h2>
<ul class="list">
<li><a href="/organisations/run-pp-sync">Run Provider Profile sync</a></li>
</ul>
</aside>
</div>

<div class="col-6">
Expand Down

0 comments on commit 1d0ff18

Please sign in to comment.