Skip to content

Commit

Permalink
Merge pull request #2307 from MisterJames/fix/2250-fix-remaining-asyn…
Browse files Browse the repository at this point in the history
…c-calls

Fix async call in startup
  • Loading branch information
MisterJames authored Mar 6, 2018
2 parents 96b4f04 + 88bdf5b commit 5c4537c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AllReadyApp/Web-App/AllReady/Startup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ public void Configure(IApplicationBuilder app, IHostingEnvironment env, AllReady

if (Configuration["SampleData:InsertTestUsers"] == "true")
{
sampleData.CreateAdminUser().GetAwaiter().GetResult();
Task.Run(() => sampleData.CreateAdminUser()).Wait();
}
}
}
Expand Down

0 comments on commit 5c4537c

Please sign in to comment.