refactor: remove redundant name fields from order service
This commit is contained in:
@@ -41,11 +41,8 @@ func toAPIOrder(in *orderservice.Orders) types.Order {
|
||||
order = types.Order{
|
||||
Id: in.GetId(),
|
||||
ConsumerId: in.GetConsumerId(),
|
||||
ConsumerName: in.GetConsumerName(),
|
||||
PlayerId: playerID,
|
||||
PlayerName: in.GetPlayerName(),
|
||||
ShopId: in.GetShopId(),
|
||||
ShopName: in.GetShopName(),
|
||||
Service: service,
|
||||
Status: in.GetStatus(),
|
||||
TotalPrice: totalPrice,
|
||||
|
||||
Reference in New Issue
Block a user