Skip to content

Commit

Permalink
fix(SharedApiRoutes): Remove trailing slash + use API_BASE_URL in cre…
Browse files Browse the repository at this point in the history
…ateUploadContainer (#122)
  • Loading branch information
PhilippeWeidmann authored Dec 13, 2024
2 parents 6d78916 + 0b46168 commit 9b075b3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ package com.infomaniak.multiplatform_swisstransfer.network.utils

object SharedApiRoutes {

const val createUploadContainer: String = "${ApiRoutes.BASE_URL}/${ApiRoutes.initUpload}/"
const val createUploadContainer: String = "${ApiRoutes.API_BASE_URL}${ApiRoutes.initUpload}"

fun shareTransfer(linkUUID: String): String = "${ApiRoutes.BASE_URL}/d/$linkUUID"

Expand Down

0 comments on commit 9b075b3

Please sign in to comment.