This commit is contained in:
Liang Ding 2022-12-23 22:51:21 +08:00
parent dd5d8e569e
commit 54be717b9c
No known key found for this signature in database
GPG key ID: 136F30F901A2231D

View file

@ -203,6 +203,7 @@ func getRiffDecks(c *gin.Context) {
data = append(data, map[string]interface{}{
"id": deck.ID,
"name": deck.Name,
"size": len(deck.BlockCard),
})
}
if 1 > len(data) {