fix crash from stickers

This commit is contained in:
ouwou committed 2021-01-12 00:11:33 -05:00
1 parent e8cbb9d3d1
commit 6dec601cf2
1 file changed
+1 -1
+1 -1
View File
@@ -18,7 +18,7 @@ void from_json(const nlohmann::json &j, StickerData &m) {
JS_D("description", m.Description);
JS_O("tags", m.Tags);
JS_O("asset", m.AssetHash);
JS_N("preview_asset", m.PreviewAssetHash);
JS_ON("preview_asset", m.PreviewAssetHash);
JS_D("format_type", m.FormatType);
}