New material API endpoint URL

This is the new URL they have settled on.

Contributes to issue CURA-8609.
This commit is contained in:
Ghostkeeper 2021-10-12 11:39:26 +02:00
parent 125c80430b
commit d5e3ed4c0e
No known key found for this signature in database
GPG key ID: 68F39EA88EEED5FF

View file

@ -25,7 +25,7 @@ class UploadMaterialsJob(Job):
Job that uploads a set of materials to the Digital Factory.
"""
UPLOAD_REQUEST_URL = f"{UltimakerCloudConstants.CuraDigitalFactoryURL}/materials/profile_upload"
UPLOAD_REQUEST_URL = f"{UltimakerCloudConstants.CuraCloudAPIRoot}/connect/v1/materials/upload"
class Result(enum.IntEnum):
SUCCCESS = 0