mirror of
https://github.com/recroom2016/OpenRec.git
synced 2026-04-22 13:25:51 +00:00
gets farther now
This commit is contained in:
@@ -5,6 +5,7 @@ using System.Text;
|
||||
using System.Threading;
|
||||
using api;
|
||||
using api2018;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace server
|
||||
{
|
||||
@@ -237,6 +238,10 @@ namespace server
|
||||
{
|
||||
s = "";
|
||||
}
|
||||
if (Url == "objectives/v1/myprogress")
|
||||
{
|
||||
s = JsonConvert.SerializeObject(new Objective2018());
|
||||
}
|
||||
Console.WriteLine("API Response: " + s);
|
||||
byte[] bytes = Encoding.UTF8.GetBytes(s);
|
||||
response.ContentLength64 = (long)bytes.Length;
|
||||
|
||||
Reference in New Issue
Block a user