From e271cb45555f593c50fd077759e1f0653eaa058e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=82=A5=E5=AE=85=E8=99=BE=E5=93=A5?= <42127557+FeiZhaixiage@users.noreply.github.com> Date: Fri, 8 Dec 2023 02:21:49 +0800 Subject: [PATCH] [API] Add a feature to retrieve user photos. Add: Add a feature to retrieve user photos. Fix bug: Missing dependency: ObjectMapper --- .../sega/game/maimai2/ApiMaimai2PlayerDataController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/icu/samnyan/aqua/api/controller/sega/game/maimai2/ApiMaimai2PlayerDataController.java b/src/main/java/icu/samnyan/aqua/api/controller/sega/game/maimai2/ApiMaimai2PlayerDataController.java index 3db3a10e..a6f63db2 100644 --- a/src/main/java/icu/samnyan/aqua/api/controller/sega/game/maimai2/ApiMaimai2PlayerDataController.java +++ b/src/main/java/icu/samnyan/aqua/api/controller/sega/game/maimai2/ApiMaimai2PlayerDataController.java @@ -121,7 +121,7 @@ public class ApiMaimai2PlayerDataController { Photo.setDivData(divData); } } - catch (IOException e) { + catch (Exception e) { } return Photo; }