diff --git a/STNetwork/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/network/requests/UploadRequest.kt b/STNetwork/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/network/requests/UploadRequest.kt index fc4782ec..7e0acd10 100644 --- a/STNetwork/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/network/requests/UploadRequest.kt +++ b/STNetwork/src/commonMain/kotlin/com/infomaniak/multiplatform_swisstransfer/network/requests/UploadRequest.kt @@ -50,7 +50,7 @@ internal class UploadRequest(json: Json, httpClient: HttpClient) : BaseRequest(j } val encodedInitUploadBody = nullableJson.encodeToString(initUploadBody) return post( - url = createUrl(SharedApiRoutes.createUploadContainer), + url = createUrl(ApiRoutes.initUpload), data = encodedInitUploadBody, appendHeaders = { append(attestationHeaderName, attestationToken)