Commit f17d1e71 authored by Joel Collins's avatar Joel Collins
Browse files

Fixed stage settings payload structure

parent 104d7c03
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -63,7 +63,9 @@ export default {
    },

    applyConfigRequest: function() {
      var payload = {}
      var payload = {
        stage_settings: {}
      }

      if (this.microscopeName != this.$store.state.apiConfig.name) {
        payload.name = this.microscopeName
@@ -73,6 +75,8 @@ export default {
        payload.stage_settings.backlash = this.stageBacklash
      }

      console.log(payload)

      // Send request to update config
      axios.post(this.configApiUri, payload)
        .then(response => {