From 8bd6fe7c2b3072a99c33e6a7d4390482b7bb7b36 Mon Sep 17 00:00:00 2001 From: Ghostkeeper Date: Mon, 18 Oct 2021 15:15:37 +0200 Subject: [PATCH] API changed: material_profile_name instead of file_name Contributes to issue CURA-8609. --- cura/PrinterOutput/UploadMaterialsJob.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cura/PrinterOutput/UploadMaterialsJob.py b/cura/PrinterOutput/UploadMaterialsJob.py index 9ef05bd3d7..99484a4430 100644 --- a/cura/PrinterOutput/UploadMaterialsJob.py +++ b/cura/PrinterOutput/UploadMaterialsJob.py @@ -105,7 +105,7 @@ class UploadMaterialsJob(Job): request_metadata = { "data": { "file_size": file_size, - "file_name": "cura.umm", # File name can be anything as long as it's .umm. It's not used by anyone. + "material_profile_name": "cura.umm", # File name can be anything as long as it's .umm. It's not used by anyone. "content_type": "application/zip", # This endpoint won't receive files of different MIME types. "origin": "cura" # Some identifier against hackers intercepting this upload request, apparently. }