Skip to content

Commit e97bb9d

Browse files
authored
Merge pull request #23 from MiPushFramework/canary
fix(server): do not throw an exception when data contains unexpected …
2 parents 063c295 + b952752 commit e97bb9d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/src/main/kotlin/moe/yuuta/server/mipush/SendMessageResponse.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ data class SendMessageResponse(
1717

1818
const val CODE_SUCCESS = 0
1919
}
20+
@JsonIgnoreProperties(ignoreUnknown = true)
2021
class Data {
2122
private val id = ""
2223
}

0 commit comments

Comments
 (0)