diff --git a/src/main/kotlin/tech/mihoyo/mirai/web/http/ReportService.kt b/src/main/kotlin/tech/mihoyo/mirai/web/http/ReportService.kt index 61a320c..462a7f7 100644 --- a/src/main/kotlin/tech/mihoyo/mirai/web/http/ReportService.kt +++ b/src/main/kotlin/tech/mihoyo/mirai/web/http/ReportService.kt @@ -144,7 +144,7 @@ class ReportService( private fun getSha1Hash(botId: Long, content: String): String { sha1UtilByBot[botId]?.apply { - return this.doFinal(content.toByteArray()).fold("", { str, it -> str + "%02x".format(it) }) + return "sha1=" + this.doFinal(content.toByteArray()).fold("", { str, it -> str + "%02x".format(it) }) } return "" }