cleanup
This commit is contained in:
parent
fcb1f741b9
commit
ce95630cc6
4 changed files with 28 additions and 17 deletions
|
|
@ -35,7 +35,7 @@ app.MapPost("/api/image/generate",
|
|||
( RequestBody requestBody ) =>
|
||||
{
|
||||
ImageGenerator imageGenerator = new ImageGenerator();
|
||||
var png = imageGenerator.GenerateImage3( requestBody );
|
||||
var png = imageGenerator.GenerateImage( requestBody );
|
||||
return Results.File(png, "image/png", "result.png");
|
||||
})
|
||||
.WithName("ImageGenerator")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue