Skip to content

Commit b2a04ee

Browse files
Merge pull request #47 from nullinside-development-group/feature/Poc2Prod
Fixes: 7b3026f
2 parents 7b3026f + 5e5484e commit b2a04ee

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Nullinside.Api/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
using Nullinside.Api.Common;
99
using Nullinside.Api.Common.AspNetCore.Middleware;
1010
using Nullinside.Api.Common.Docker;
11+
using Nullinside.Api.Common.Twitch;
1112
using Nullinside.Api.Model;
1213

1314
using WebApplicationBuilder = Microsoft.AspNetCore.Builder.WebApplicationBuilder;
@@ -30,6 +31,7 @@
3031
builder.EnableRetryOnFailure(3);
3132
}));
3233
builder.Services.AddScoped<IAuthorizationHandler, BasicAuthorizationHandler>();
34+
builder.Services.AddScoped<ITwitchApiProxy, TwitchApiProxy>();
3335
builder.Services.AddAuthentication()
3436
.AddScheme<AuthenticationSchemeOptions, BasicAuthenticationHandler>("Bearer", _ => { });
3537
builder.Services.AddScoped<IDockerProxy, DockerProxy>();

0 commit comments

Comments
 (0)