add exception to handle unknown RequestType

pull/2973/head
Patrick Collins 6 years ago
parent 6c5e359d69
commit 3556e055df

@ -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");
}
}
}

Loading…
Cancel
Save