Skip to content

Commit

Permalink
Update nuget packages
Browse files Browse the repository at this point in the history
  • Loading branch information
rzander committed Mar 25, 2018
1 parent d5ecada commit 5ff4b21
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 5 additions & 2 deletions source/jaindb/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -243,10 +243,13 @@ private void OnStartup()
jDB.CosmosDB = new DocumentClient(new Uri(jDB.endpointUrl), jDB.authorizationKey);

jDB.CosmosDB.OpenAsync();

jDB.UseCosmosDB = true;
}
catch { }
catch
{
jDB.UseCosmosDB = false;
jDB.UseFileStore = true;
}
}

if ((int.Parse(Configuration.GetSection("UseFileSystem").Value ?? Configuration.GetSection("jaindb:UseFileSystem").Value) == 1) || (Environment.GetEnvironmentVariable("UseFileSystem") == "1"))
Expand Down
6 changes: 3 additions & 3 deletions source/jaindb/jaindb.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
<RepositoryUrl>https://github.com/rzander/jaindb</RepositoryUrl>
<PackageTags>blockchain json</PackageTags>
<Version>0.9.0</Version>
<AssemblyVersion>0.9.0.56</AssemblyVersion>
<FileVersion>0.9.0.56</FileVersion>
<AssemblyVersion>0.9.0.57</AssemblyVersion>
<FileVersion>0.9.0.57</FileVersion>
<StartupObject>jaindb.Program</StartupObject>
<UserSecretsId>fcfd6c0a-e53c-46cb-8a9d-b786c0579861</UserSecretsId>
</PropertyGroup>
Expand Down Expand Up @@ -67,7 +67,7 @@
<PackageReference Include="Microsoft.OData.Core" Version="7.4.3" />
<PackageReference Include="Microsoft.VisualStudio.Web.BrowserLink" Version="2.0.2" />
<PackageReference Include="Moon.AspNetCore.Authentication.Basic" Version="4.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.1" />
<PackageReference Include="Newtonsoft.Json" Version="11.0.2" />
<PackageReference Include="StackExchange.Redis" Version="1.2.6" />
</ItemGroup>

Expand Down

0 comments on commit 5ff4b21

Please # to comment.