Commit d93865c2 authored by jackie / Andrea Ida Malkah Klaura's avatar jackie / Andrea Ida Malkah Klaura
Browse files

amending: forgot to save the resolved file

parent 8be528a4
......@@ -398,17 +398,10 @@ export default {
savePredecessor (event) {
if (this.id !== this.show.predecessor) {
event.preventDefault()
<<<<<<< HEAD
this.backupid = this.show.predecessor_id
this.show.predecessor_id = this.id
console.log(this.show.predecessor_id)
axios.put(process.env.VUE_APP_API_STEERING_SHOWS + this.show.id + '/', this.show, {
=======
this.backupid = this.show.predecessor
this.show.predecessor = this.id
console.log(this.show.predecessor)
axios.put(process.env.API_STEERING_SHOWS + this.show.id + '/', this.show, {
>>>>>>> 3888ff92fbc548600ff336cd605a9e1087a603d9
withCredentials: true,
headers: { 'Authorization': 'Bearer ' + this.$parent.$parent.user.access_token }
}).then(response => {
......
Supports Markdown
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