qol: simplify default
This commit is contained in:
@@ -32,7 +32,7 @@ namespace Disco.Services.Expressions.Extensions
|
||||
{
|
||||
var objectValue = GetActiveDirectoryObjectValue(User, PropertyName, Index);
|
||||
if (objectValue == null)
|
||||
return default(int);
|
||||
return default;
|
||||
else
|
||||
{
|
||||
int intValue;
|
||||
|
||||
Reference in New Issue
Block a user