qol: simplify calls
This commit is contained in:
1 parent
1add4ee0f5
commit
9656c15c4b
61 files changed
+214
-214
No files matched your search
@@ -199,7 +199,7 @@ namespace Disco.Services.Authorization.Roles
|
||||
claims.User.ShowDetails = true;
|
||||
}
|
||||
|
||||
role.ClaimsJson = Newtonsoft.Json.JsonConvert.SerializeObject(claims);
|
||||
role.ClaimsJson = JsonConvert.SerializeObject(claims);
|
||||
}
|
||||
|
||||
Database.SaveChanges();
|
||||
@@ -217,7 +217,7 @@ namespace Disco.Services.Authorization.Roles
|
||||
claims.Job.Properties.NonWarrantyProperties.RepairProviderDetails = true;
|
||||
}
|
||||
|
||||
role.ClaimsJson = Newtonsoft.Json.JsonConvert.SerializeObject(claims);
|
||||
role.ClaimsJson = JsonConvert.SerializeObject(claims);
|
||||
}
|
||||
|
||||
Database.SaveChanges();
|
||||
|
||||
Reference in new issue
Block a user