snyggade till hardcover. la til author lookup
This commit is contained in:
@@ -35,6 +35,7 @@ builder.Services.AddScoped<IGraphQLClient>(s => new GraphQLHttpClient(new GraphQ
|
||||
HttpMessageHandler = s.GetRequiredService<HardcoverAuthenticationHandler>(),
|
||||
EndPoint = new Uri(config.HardcoverApiUrl),
|
||||
}, new NewtonsoftJsonSerializer()));
|
||||
builder.Services.AddScoped<HardcoverClient>();
|
||||
|
||||
//databases
|
||||
builder.Services.AddDbContext<SqliteCalibreContext>(options => options.UseSqlite($"Data Source={config.CalibreDb};Mode=ReadOnly;"));
|
||||
|
Reference in New Issue
Block a user