switch json serializer
This commit is contained in:
parent
a62bff5fa6
commit
0d730b280b
1 changed files with 2 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ using System.Text.Json;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
|
||||||
namespace SecondBotEvents.Services
|
namespace SecondBotEvents.Services
|
||||||
{
|
{
|
||||||
|
|
@ -330,7 +331,7 @@ namespace SecondBotEvents.Services
|
||||||
{
|
{
|
||||||
return "Command request rejected";
|
return "Command request rejected";
|
||||||
}
|
}
|
||||||
return JsonSerializer.Serialize(master.CommandsService.RunCommand(C));
|
return JsonConvert.SerializeObject(master.CommandsService.RunCommand(C));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue