mirror of https://github.com/Radarr/Radarr
renamed /api/qualityprofiles to /api/qualityprofile
This commit is contained in:
parent
3d3390187e
commit
4e5588f5dd
|
@ -10,7 +10,6 @@ namespace NzbDrone.Api.Qualities
|
|||
private readonly IQualityProfileService _qualityProfileService;
|
||||
|
||||
public QualityProfileModule(IQualityProfileService qualityProfileService)
|
||||
: base("/qualityprofiles")
|
||||
{
|
||||
_qualityProfileService = qualityProfileService;
|
||||
SharedValidator.RuleFor(c => c.Name).NotEmpty();
|
||||
|
|
|
@ -10,7 +10,7 @@ namespace NzbDrone.Api.Qualities
|
|||
private readonly IQualityDefinitionService _qualityDefinitionService;
|
||||
|
||||
public QualityProfileSchemaModule(IQualityDefinitionService qualityDefinitionService)
|
||||
: base("/qualityprofiles/schema")
|
||||
: base("/qualityprofile/schema")
|
||||
{
|
||||
_qualityDefinitionService = qualityDefinitionService;
|
||||
|
||||
|
|
|
@ -8,16 +8,16 @@
|
|||
<option es3="false" />
|
||||
<option forin="true" />
|
||||
<option immed="true" />
|
||||
<option latedef="true" />
|
||||
<option newcap="true" />
|
||||
<option noarg="true" />
|
||||
<option noempty="false" />
|
||||
<option nonew="true" />
|
||||
<option plusplus="false" />
|
||||
<option undef="true" />
|
||||
<option unused="true" />
|
||||
<option strict="true" />
|
||||
<option trailing="false" />
|
||||
<option latedef="true" />
|
||||
<option unused="true" />
|
||||
<option quotmark="single" />
|
||||
<option maxdepth="3" />
|
||||
<option asi="false" />
|
||||
|
|
|
@ -7,7 +7,7 @@ define(
|
|||
|
||||
var QualityProfileCollection = Backbone.Collection.extend({
|
||||
model: QualityProfileModel,
|
||||
url : window.NzbDrone.ApiRoot + '/qualityprofiles'
|
||||
url : window.NzbDrone.ApiRoot + '/qualityprofile'
|
||||
});
|
||||
|
||||
var profiles = new QualityProfileCollection();
|
||||
|
|
|
@ -8,6 +8,6 @@ define(
|
|||
|
||||
return Backbone.Collection.extend({
|
||||
model: QualityProfileModel,
|
||||
url : window.NzbDrone.ApiRoot + '/qualityprofiles/schema'
|
||||
url : window.NzbDrone.ApiRoot + '/qualityprofile/schema'
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue