Skip to content

Commit

Permalink
Map all Category properties on creation.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTedder committed Sep 6, 2024
1 parent ac932aa commit ee83347
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions LeaderboardBackend/Controllers/CategoriesController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ [FromBody] CreateCategoryRequest request
Slug = request.Slug,
Info = request.Info,
LeaderboardId = request.LeaderboardId,
SortDirection = request.SortDirection,
Type = request.Type
};

await _categoryService.CreateCategory(category);
Expand Down

0 comments on commit ee83347

Please sign in to comment.