Commit 2b7eb347 authored by 神楽坂玲奈's avatar 神楽坂玲奈

remove dynamic

parent 3480135a
Pipeline #38906 failed with stages
in 41 minutes and 59 seconds
...@@ -338,7 +338,7 @@ namespace MDPro3.Net ...@@ -338,7 +338,7 @@ namespace MDPro3.Net
case "init": case "init":
case "create": case "create":
case "update": case "update":
var roomsOrSingleRoom = JsonConvert.DeserializeObject<dynamic>(info.data.ToString()); var roomsOrSingleRoom = JsonConvert.DeserializeObject<JToken>(info.data.ToString());
if(roomsOrSingleRoom is JArray array) if(roomsOrSingleRoom is JArray array)
HandleRooms(array); HandleRooms(array);
else else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment