mirror of
https://github.com/bitwarden/server.git
synced 2025-07-03 00:52:49 -05: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