Skip to content

Commit

Permalink
🔖 RELEASE v2.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
MisakaTAT committed Feb 26, 2024
1 parent 0a109a6 commit 411d234
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@file:Suppress("SpellCheckingInspection")

group = "com.mikuac"
version = "2.1.7"
version = "2.1.8"

plugins {
signing
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/mikuac/shiro/core/Bot.java
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,7 @@ public ActionData customRequest(ActionPath action, Map<String, Object> params) {
*/
public <T> ActionData<T> customRequest(ActionPath action, Map<String, Object> params, Class<T> clazz) {
JSONObject result = actionHandler.action(session, action, params);
return result != null ? result.to(new TypeReference<ActionData<T>>(clazz) {
return result != null ? result.to(new TypeReference<>(clazz) {
}) : null;
}

Expand Down

0 comments on commit 411d234

Please sign in to comment.