name changes

This commit is contained in:
Jamie.Rees 2016-12-20 10:22:18 +00:00
commit 6300c98bb7
27 changed files with 95 additions and 58 deletions

View file

@ -92,7 +92,7 @@ namespace Ombi.UI.Modules
Describe["GetApiKey"] = description => description.AsSwagger(with =>
{
with.ResourcePath("/apikey");
with.Summary("Gets the Api Key for Plex Requests");
with.Summary("Gets the Api Key for Ombi");
with.Model<ApiModel<string>>();
with.QueryParam<string>("username", required:true );
with.QueryParam<string>("password", required: true );

View file

@ -39,7 +39,7 @@ namespace Ombi.UI.Modules
Describe["GetApiKey"] = description => description.AsSwagger(with =>
{
with.ResourcePath("/apikey");
with.Summary("Gets the Api Key for Plex Requests");
with.Summary("Gets the Api Key for Ombi");
with.Model<ApiModel<string>>();
with.QueryParam<string>("username", required:true );
with.QueryParam<string>("password", required: true );

View file

@ -67,9 +67,9 @@ namespace Ombi.UI.Modules
{
return Response.AsJson(new JsonUpdateAvailableModel { UpdateAvailable = false });
}
//#if DEBUG
//return Response.AsJson(new JsonUpdateAvailableModel {UpdateAvailable = false});
//#endif
#if DEBUG
return Response.AsJson(new JsonUpdateAvailableModel { UpdateAvailable = false });
#endif
var checker = new StatusChecker(SystemSettings);
var release = await Cache.GetOrSetAsync(CacheKeys.LastestProductVersion, async() => await checker.GetStatus(), 30);