simple-robot / simbot-component-onebot

一个Kotlin多平台的 OneBot SDK 实现,一个异步高效、Java 友好的 Simple Robot 组件库 ~ 🐱🐱🐱
https://simbot.forte.love/component-onebot.html
GNU Lesser General Public License v3.0
10 stars 3 forks source link

API请求时,如果 body 为 `null` 则默认填充空JSON字符串 #60

Closed ForliyScarlet closed 5 months ago

ForliyScarlet commented 5 months ago

为了兼容部分服务端。 可以通过 JVM 属性 simbot.onebot11.api.request.emptyJsonStringIfBodyNullGlobalOneBotApiRequestConfiguration.emptyJsonStringIfBodyNull 修改。

github-actions[bot] commented 5 months ago

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked ☁️ View the detailed Qodana report

Contact Qodana team Contact us at [qodana-support@jetbrains.com](mailto:qodana-support@jetbrains.com) - Or via our issue tracker: https://jb.gg/qodana-issue - Or share your feedback: https://jb.gg/qodana-discussions