summaryrefslogtreecommitdiffstats
path: root/webapp/src/store
diff options
context:
space:
mode:
Diffstat (limited to 'webapp/src/store')
-rw-r--r--webapp/src/store/registration.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/webapp/src/store/registration.js b/webapp/src/store/registration.js
index 8d1882f..244d98e 100644
--- a/webapp/src/store/registration.js
+++ b/webapp/src/store/registration.js
@@ -22,7 +22,7 @@ export default {
},
actions: {
loadHooks (context) {
- axios.get('/api/registrations/hooks').then(result => {
+ axios.get('/api/registration/hooks').then(result => {
context.commit('setHooks', result.data)
})
},
@@ -32,7 +32,7 @@ export default {
})
},
setHooks (context, hooks) {
- axios.post('/api/registrations/hookorder', { ids: hooks.map(x => x.id) }).then(result => {
+ axios.post('/api/registration/hookorder', { ids: hooks.map(x => x.id) }).then(result => {
context.commit('setHooks', hooks)
})
}