mirror of
https://github.com/bitwarden/server
synced 2025-12-15 07:43:54 +00:00
Fixed various typos. (#378)
This commit is contained in:
committed by
Kyle Spearrin
parent
45a77c8903
commit
976869c968
@@ -69,7 +69,7 @@ namespace Bit.Core.Services
|
||||
|
||||
foreach(var org in enabledOrgs)
|
||||
{
|
||||
var license = ReadOrganiztionLicense(org);
|
||||
var license = ReadOrganizationLicense(org);
|
||||
if(license == null)
|
||||
{
|
||||
await DisableOrganizationAsync(org, null, "No license file.");
|
||||
@@ -221,7 +221,7 @@ namespace Bit.Core.Services
|
||||
return JsonConvert.DeserializeObject<UserLicense>(data);
|
||||
}
|
||||
|
||||
private OrganizationLicense ReadOrganiztionLicense(Organization organization)
|
||||
private OrganizationLicense ReadOrganizationLicense(Organization organization)
|
||||
{
|
||||
var filePath = $"{_globalSettings.LicenseDirectory}/organization/{organization.Id}.json";
|
||||
if(!File.Exists(filePath))
|
||||
|
||||
Reference in New Issue
Block a user