mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-10-09 04:04:54 +00:00
Throw ArgumentException instead of ArgumentNullException on empty Guid.
This commit is contained in:
parent
6ca252ba5c
commit
bd4da93d1e
1 changed files with 1 additions and 1 deletions
|
|
@ -6193,7 +6193,7 @@ where AncestorIdText not null and ItemValues.Value not null and ItemValues.Type
|
|||
CheckDisposed();
|
||||
if (id == Guid.Empty)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(id));
|
||||
throw new ArgumentException(nameof(id));
|
||||
}
|
||||
|
||||
if (attachments == null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue