mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-16 02:02:55 -07:00
add exception to handle unknown RequestType
This commit is contained in:
parent
6c5e359d69
commit
3556e055df
1 changed files with 1 additions and 0 deletions
|
@ -53,6 +53,7 @@ namespace Ombi.Core.Rule.Rules
|
||||||
return Task.FromResult(Fail("You do not have permissions to Request an Album"));
|
return Task.FromResult(Fail("You do not have permissions to Request an Album"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
throw new InvalidDataException("Permission check failed: unknown RequestType");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue