From ee83347f613c73339e5e62f994443251ce3a7045 Mon Sep 17 00:00:00 2001 From: Ted Wollman <25165500+TheTedder@users.noreply.github.com> Date: Fri, 6 Sep 2024 15:28:59 -0400 Subject: [PATCH] Map all Category properties on creation. --- LeaderboardBackend/Controllers/CategoriesController.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/LeaderboardBackend/Controllers/CategoriesController.cs b/LeaderboardBackend/Controllers/CategoriesController.cs index 7c64fd42..9b84fc79 100644 --- a/LeaderboardBackend/Controllers/CategoriesController.cs +++ b/LeaderboardBackend/Controllers/CategoriesController.cs @@ -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);