pull/1604/head
kunfei 3 years ago
parent a4a074f54b
commit 8caa77891a
  1. 1
      app/src/main/java/io/legado/app/help/DirectLinkUpload.kt

@ -15,6 +15,7 @@ object DirectLinkUpload {
private const val downloadUrlRuleKey = "directLinkDownloadUrlRule" private const val downloadUrlRuleKey = "directLinkDownloadUrlRule"
private const val summaryKey = "directSummary" private const val summaryKey = "directSummary"
@Throws(NoStackTraceException::class)
suspend fun upLoad(fileName: String, file: Any, contentType: String): String { suspend fun upLoad(fileName: String, file: Any, contentType: String): String {
val url = getUploadUrl() val url = getUploadUrl()
if (url.isNullOrBlank()) { if (url.isNullOrBlank()) {

Loading…
Cancel
Save