diff --git a/MainServer/Controllers/Game/CardController.cs b/MainServer/Controllers/Game/CardController.cs index 8e70574..d5184f1 100644 --- a/MainServer/Controllers/Game/CardController.cs +++ b/MainServer/Controllers/Game/CardController.cs @@ -72,7 +72,7 @@ public class CardController : BaseController await Mediator.Send(new WriteItemCommand(request.CardId, request.Data)), CardRequestType.WriteTitle => await Mediator.Send(new WriteTitleCommand(request.CardId, request.Data)), - CardRequestType.WriteMusicDetail => await Mediator.Send( + CardRequestType.WriteMusicDetail or CardRequestType.WriteWMusicDetail => await Mediator.Send( new WriteMusicDetailCommand(request.CardId, request.Data)), CardRequestType.WriteNavigator => await Mediator.Send( new WriteNavigatorCommand(request.CardId, request.Data)), @@ -103,6 +103,7 @@ public class CardController : BaseController result = await Mediator.Send(new CardReissueCommand(request.CardId)); break; default: + Logger.LogWarning("Unimplemented: {CardCommandType}, data is {Data}", cardCommandType, request.Data); throw new ArgumentOutOfRangeException(nameof(cardCommandType), cardCommandType, "Should not happen"); }