summaryrefslogtreecommitdiffstats
path: root/webapp/src/store
diff options
context:
space:
mode:
authorJannik Schönartz2018-12-11 15:51:58 +0100
committerJannik Schönartz2018-12-11 15:51:58 +0100
commit92e2d90dd65dd9b68b6e779c41993d73be5d6e94 (patch)
tree257ead3922b89512deef8a6dd56e86fd77729933 /webapp/src/store
parent[registration/idoit] TPM upload functionality + improve hw specs (diff)
downloadbas-92e2d90dd65dd9b68b6e779c41993d73be5d6e94.tar.gz
bas-92e2d90dd65dd9b68b6e779c41993d73be5d6e94.tar.xz
bas-92e2d90dd65dd9b68b6e779c41993d73be5d6e94.zip
Rename registrations in registration.
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)
})
}