getCOnfig

This commit is contained in:
Adam R Grey 2023-04-04 12:13:12 -04:00
parent 282c05eab5
commit ff232db4bc

View File

@ -492,10 +492,15 @@ namespace ttrss_co_client.ttrss
}); });
return await get<IEnumerable<Article>>(json); return await get<IEnumerable<Article>>(json);
} }
public async Task<Configuration> GetConfig() public async Task<datastructures.Configuration> GetConfig()
{ {
assertInitialized(); assertInitialized();
throw new NotImplementedException(); var json = JsonContent.Create(new
{
op = "getConfig",
sid = this.SessionId
});
return await get<datastructures.Configuration>(json);
} }
///<summary> ///<summary>
///tell the feed to update. As opposed to updating our configuration of the feed. ///tell the feed to update. As opposed to updating our configuration of the feed.