Commit 91e439ea authored by Anton Smith's avatar Anton Smith

Fix missing filename from import script

parent 032417b6
...@@ -137,7 +137,7 @@ from io import BytesIO ...@@ -137,7 +137,7 @@ from io import BytesIO
s3_file = requests.get(presigned_url) s3_file = requests.get(presigned_url)
url = 'https://gitlab.example.com/api/v4/projects/import' url = 'https://gitlab.example.com/api/v4/projects/import'
files = {'file': BytesIO(s3_file.content)} files = {'file': ('file.tar.gz', BytesIO(s3_file.content))}
data = { data = {
"path": "example-project", "path": "example-project",
"namespace": "example-group" "namespace": "example-group"
......
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