You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Startup.cs file under AspNetCoreMultitenant.Web uses the following code:
services.AddScoped<IFileClient>(service =>
{
var provider = service.GetRequiredService<ITenantProvider>();
var tenant = provider.GetTenant();
if(tenant.StorageType == "GoogleDrive")
{
return new GoogleDriveFileClient(tenant.ConnectionString);
}
if(tenant.StorageType == "AzureBlob")
{
return new AzureBlobStorageFileClient(tenant.ConnectionString);
}
return null;
});
The code should be return new GoogleDriveFileClient(tenant.StorageConnectionString); and return new AzureBlobStorageFileClient(tenant.StorageConnectionString);
The text was updated successfully, but these errors were encountered:
The Startup.cs file under AspNetCoreMultitenant.Web uses the following code:
The code should be
return new GoogleDriveFileClient(tenant.StorageConnectionString);
andreturn new AzureBlobStorageFileClient(tenant.StorageConnectionString);
The text was updated successfully, but these errors were encountered: