Skip to content
Snippets Groups Projects
Unverified Commit e15de21f authored by Martin Weise's avatar Martin Weise
Browse files

Fixed a lot of stuff

parent f4f117af
No related branches found
No related tags found
3 merge requests!81New stable release,!43Merge dev to master,!39Column units
messytables==0.15.2 messytables==0.15.2
pandas==1.2.3 pandas==1.2.3
flask==1.1.2 flask==1.1.4
flasgger==0.9.5 flasgger==0.9.5
psycopg2-binary==2.8.6 psycopg2-binary==2.8.6
py-eureka-client==0.9.1 py-eureka-client==0.9.1
docker==5.0.0 docker==5.0.0
sqlalchemy==1.4.15 sqlalchemy==1.4.15
gevent==21.8.0
requests==2.26.0 requests==2.26.0
gevent==21.8.0 gevent==21.8.0
markupsafe===2.0.1
...@@ -160,10 +160,10 @@ export default { ...@@ -160,10 +160,10 @@ export default {
console.error('Could not upload data.', err) console.error('Could not upload data.', err)
return return
} }
const insertUrl = `/api/container/${this.$route.params.container_id}/database/${this.databaseId}/table/${this.tableId}/data?location=${encodeURI('/tmp/' + this.fileLocation)}` const insertUrl = `/api/container/${this.$route.params.container_id}/database/${this.databaseId}/table/${this.tableId}/data/import`
let insertResult let insertResult
try { try {
insertResult = await this.$axios.post(insertUrl, new FormData(), { insertResult = await this.$axios.post(insertUrl, { location: '/tmp/' + this.fileLocation }, {
headers: { Authorization: `Bearer ${this.token}` } headers: { Authorization: `Bearer ${this.token}` }
}) })
console.debug('inserted table', insertResult.data) console.debug('inserted table', insertResult.data)
......
...@@ -5,3 +5,4 @@ docker==5.0.0 ...@@ -5,3 +5,4 @@ docker==5.0.0
gevent==21.8.0 gevent==21.8.0
rdflib==6.0.2 rdflib==6.0.2
psycopg2-binary==2.8.6 psycopg2-binary==2.8.6
itsdangerous==2.0.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment