diff --git a/MycroForge.CLI/Commands/MycroForge.Api.Generate.Router.cs b/MycroForge.CLI/Commands/MycroForge.Api.Generate.Router.cs index 1fa2b42..720830f 100644 --- a/MycroForge.CLI/Commands/MycroForge.Api.Generate.Router.cs +++ b/MycroForge.CLI/Commands/MycroForge.Api.Generate.Router.cs @@ -45,8 +45,8 @@ public partial class MycroForge var main = await _context.ReadFile("main.py"); main += string.Join('\n', - $"\nfrom api.routers import {moduleName}", - $"app.include_router(prefix=\"/{name.Kebaberize()}\", router={moduleName}.router)\n" + $"\n\nfrom api.routers import {moduleName}", + $"app.include_router(prefix=\"/{name.Kebaberize()}\", router={moduleName}.router)" ); await _context.WriteFile("main.py", main); }