Commit dcbba439 authored by Filipe de Lima Brito's avatar Filipe de Lima Brito

Update UrlHelper.kt

parent 46952bcc
...@@ -38,5 +38,5 @@ object UrlHelper { ...@@ -38,5 +38,5 @@ object UrlHelper {
* @return The attachment link. * @return The attachment link.
*/ */
fun getAttachmentLink(hostname: String, fileId: String, fileName: String): String = fun getAttachmentLink(hostname: String, fileId: String, fileName: String): String =
getSafeHostname(hostname) + "/file-upload/" + fileId + "/" + fileName getSafeUrl(getSafeHostname(hostname) + "/file-upload/" + fileId + "/" + fileName)
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment