Skip to content

Commit

Permalink
Refactor new lines
Browse files Browse the repository at this point in the history
  • Loading branch information
sirambd committed Aug 16, 2024
1 parent 66508e9 commit 95fa53e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@

package com.infomaniak.multiplatform_swisstransfer.network.utils

fun Boolean.int() = if (this) 1 else 0
fun Boolean.int() = if (this) 1 else 0
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ object SharedApiRoutes {
fun uploadChunk(uploadHost: String, containerUUID: String, fileUUID: String, chunkIndex: Int, isLastChunk: Boolean): String {
return "https://$uploadHost/api/uploadChunk/$containerUUID/$fileUUID/$chunkIndex/${isLastChunk.int()}"
}
}
}

0 comments on commit 95fa53e

Please sign in to comment.