Skip to content
This repository has been archived by the owner on Aug 28, 2021. It is now read-only.

Commit

Permalink
fix template detail creation
Browse files Browse the repository at this point in the history
  • Loading branch information
sei-jmattson committed Jun 15, 2021
1 parent 50f29e6 commit a8b73b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TopoMojo.Core/Services/TemplateService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public async Task<TemplateDetail> Create(TemplateDetail model)
if (!User.IsAdmin)
throw new InvalidOperationException();

model.Detail = new TemplateUtility("", model.Name).ToString();
model.Detail = new TemplateUtility(model.Detail, model.Name).ToString();

var t = Mapper.Map<Data.Template>(model);

Expand Down

0 comments on commit a8b73b5

Please sign in to comment.