add exception to handle unknown RequestType

This commit is contained in:
Patrick Collins 2019-05-09 19:45:47 -04:00
parent 6c5e359d69
commit 3556e055df

View file

@ -53,6 +53,7 @@ namespace Ombi.Core.Rule.Rules
return Task.FromResult(Fail("You do not have permissions to Request an Album"));
}
throw new InvalidDataException("Permission check failed: unknown RequestType");
}
}
}