Commit 0f180606 authored by anton's avatar anton

Use post with id in url for archive export

parent fad588df
......@@ -190,8 +190,8 @@
this.$q.loading.show()
try {
const result = await this.$axios.post(
`${process.env.API_HOST}/archives/maps`,
{uuid: this.grid._uuid},
`${process.env.API_HOST}/archives/maps/${this.grid._uuid}`,
{},
{
headers: {
Authorization: `Bearer ${this.$auth.token}`
......
......@@ -136,8 +136,8 @@
this.$q.loading.show()
try {
const result = await this.$axios.post(
`${process.env.API_HOST}/archives/maps`,
{uuid: this.timeline._uuid},
`${process.env.API_HOST}/archives/maps/${this.timeline._uuid}`,
{},
{
headers: {
Authorization: `Bearer ${this.$auth.token}`
......
Markdown is supported
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