mirror of
https://github.com/lidarr/Lidarr
synced 2024-12-23 08:13:01 +00:00
Fixed: support full any valid int32 as valid route ID
This commit is contained in:
parent
d478e6d932
commit
0f0cc236de
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ public abstract class RestModule<TResource> : NancyModule
|
||||||
where TResource : RestResource, new()
|
where TResource : RestResource, new()
|
||||||
{
|
{
|
||||||
private const string ROOT_ROUTE = "/";
|
private const string ROOT_ROUTE = "/";
|
||||||
private const string ID_ROUTE = @"/(?<id>[\d]{1,7})";
|
private const string ID_ROUTE = @"/(?<id>[\d]{1,10})";
|
||||||
|
|
||||||
private Action<int> _deleteResource;
|
private Action<int> _deleteResource;
|
||||||
private Func<int, TResource> _getResourceById;
|
private Func<int, TResource> _getResourceById;
|
||||||
|
|
Loading…
Reference in a new issue