1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-23 16:26:02 +00:00

Fixed: support full any valid int32 as valid route ID

This commit is contained in:
Keivan Beigi 2015-01-15 17:04:27 -08:00
parent d478e6d932
commit 0f0cc236de

View file

@ -12,7 +12,7 @@ namespace NzbDrone.Api.REST
where TResource : RestResource, new()
{
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 Func<int, TResource> _getResourceById;