diff --git a/SharedLibraryCore/Services/MetaService.cs b/SharedLibraryCore/Services/MetaService.cs index 2f540185..90350cfa 100644 --- a/SharedLibraryCore/Services/MetaService.cs +++ b/SharedLibraryCore/Services/MetaService.cs @@ -41,11 +41,11 @@ namespace SharedLibraryCore.Services } } - public Task GetPersistentMeta(string metaKey, EFClient client) + public async Task GetPersistentMeta(string metaKey, EFClient client) { using (var ctx = new DatabaseContext(disableTracking:true)) { - return ctx.EFMeta + return await ctx.EFMeta .Where(_meta => _meta.Key == metaKey) .Where(_meta => _meta.ClientId == client.ClientId) .FirstOrDefaultAsync();