Skip to content
Snippets Groups Projects
Commit 793e5008 authored by Matthew Mahendra's avatar Matthew Mahendra
Browse files

feat: Change Route and Template

parent 37328f78
No related merge requests found
...@@ -18,6 +18,6 @@ router.patch("/scholarship/:id", updateScholarship) ...@@ -18,6 +18,6 @@ router.patch("/scholarship/:id", updateScholarship)
router.delete("/scholarship/:id", deleteScholarship) router.delete("/scholarship/:id", deleteScholarship)
router.get("/scholarshiptype", getAllScholarshipTypes) router.get("/scholarshiptype", getAllScholarshipTypes)
router.get("/scholarship/:id/count", scholarshipCount) router.get("/scholarship/:id/count", scholarshipCount)
router.post("/scholarship/:sid/accept", scholarshipAcceptance) router.post("/scholarship/acceptance/:sid", scholarshipAcceptance)
module.exports = router module.exports = router
...@@ -6,7 +6,7 @@ const headers = { ...@@ -6,7 +6,7 @@ const headers = {
"X-API-KEY": process.env.SOAP_API_KEY "X-API-KEY": process.env.SOAP_API_KEY
} }
const url = process.env.SOAP_URL + "/ws/ScholarshipAcceptanceService?wsdl" const url = process.env.SOAP_URL + "/ws/ScholarshipAcceptance?wsdl"
const setAcceptanceTemplate = ` const setAcceptanceTemplate = `
<Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/"> <Envelope xmlns="http://schemas.xmlsoap.org/soap/envelope/">
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment