Skip to content

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Alxandr committed Oct 9, 2024
1 parent 4f2a8e2 commit 284e7a6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ internal static async Task Run(TaskPipeline pipeline, HttpContext context)

////await using var textWriter = new StreamWriter(responseBody.Stream, Encoding.UTF8);
await Run(pipeline, responseBody.Writer, context.RequestServices, ct);

await responseBody.CompleteAsync();
}

Expand Down Expand Up @@ -72,10 +72,9 @@ internal static async Task<TaskPipelineResult> Run(TaskPipeline pipeline, WebSoc
reader.AdvanceTo(buffer.End);
}
while (!result.IsCompleted);
},
},
ct);

AggregateException? ex = null;
try
{
return await Run(pipeline, writer, services, ct);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@
app.UseAltinnHostDefaults();
app.UseWebSockets();

app.MapTaskPipeline<BootstrapDatabasePipeline>("/deployapi/api/v1/databases/bootstrap");
app.MapTaskPipeline<BootstrapDatabasePipeline>("/deployapi/api/v1/database/bootstrap");

app.Run();

0 comments on commit 284e7a6

Please sign in to comment.