From 9629542e38a4fdd5442ae2603b2cb3b28519841c Mon Sep 17 00:00:00 2001 From: Richard Tibbles Date: Thu, 11 Jun 2020 10:29:01 -0700 Subject: [PATCH] Add explicit post method to device provision call. --- .../plugins/setup_wizard/assets/src/modules/pluginModule.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/kolibri/plugins/setup_wizard/assets/src/modules/pluginModule.js b/kolibri/plugins/setup_wizard/assets/src/modules/pluginModule.js index 354da6130fb..48562a409c3 100644 --- a/kolibri/plugins/setup_wizard/assets/src/modules/pluginModule.js +++ b/kolibri/plugins/setup_wizard/assets/src/modules/pluginModule.js @@ -68,7 +68,11 @@ export default { store.commit('SET_LOADING', true); - return client({ url: urls['kolibri:core:deviceprovision'](), data: onboardingData }).then( + return client({ + url: urls['kolibri:core:deviceprovision'](), + data: onboardingData, + method: 'post', + }).then( response => { superuser.facility = response.data.facility.id; store.dispatch('kolibriLogin', superuser);