diff --git a/Core/HttpService/HttpAsService.cs b/Core/HttpService/HttpAsService.cs index 757f9cd..d44c30e 100644 --- a/Core/HttpService/HttpAsService.cs +++ b/Core/HttpService/HttpAsService.cs @@ -183,6 +183,7 @@ namespace BetterSecondBot.HttpService .WithWebApi("/dialogs", m => m.WithController(() => new HTTP_Dialogs(Bot, Tokens))) .WithWebApi("/estate", m => m.WithController(() => new HTTP_Estate(Bot, Tokens))) .WithWebApi("/friends", m => m.WithController(() => new HTTP_Friends(Bot, Tokens))) + .WithWebApi("/funds", m => m.WithController(() => new Http_Funds(Bot, Tokens))) .WithWebApi("/group", m => m.WithController(() => new HTTP_Group(Bot, Tokens))) .WithWebApi("/home", m => m.WithController(() => new HTTP_Home(Bot, Tokens))) .WithWebApi("/im", m => m.WithController(() => new HTTP_IM(Bot, Tokens))) diff --git a/Core/Static/http_commands_helper.cs b/Core/Static/http_commands_helper.cs index 488db92..ac4f821 100644 --- a/Core/Static/http_commands_helper.cs +++ b/Core/Static/http_commands_helper.cs @@ -17,6 +17,7 @@ namespace Core.Static reply.Add("dialogs", typeof(HTTP_Dialogs)); reply.Add("estate", typeof(HTTP_Estate)); reply.Add("friends", typeof(HTTP_Friends)); + reply.Add("funds", typeof(Http_Funds)); reply.Add("group", typeof(HTTP_Group)); reply.Add("home", typeof(HTTP_Home)); reply.Add("im", typeof(HTTP_IM));