fix: Fix typo in func name createCategory -> updateCategory

This commit is contained in:
Peter Vacho 2025-01-05 16:14:53 +01:00
parent 6d6e1945bb
commit c900c7093f
Signed by: school
GPG key ID: 8CFC3837052871B4

View file

@ -24,7 +24,7 @@ interface CategoryService {
suspend fun createCategory(@Body categoryData: CategoryRequest): CategoryResponse
@PATCH("/categories/{category_id}")
suspend fun createCategory(@Path("category_id") categoryId: String, @Body categoryData: PartialCategoryRequest): CategoryResponse
suspend fun updateCategory(@Path("category_id") categoryId: String, @Body categoryData: PartialCategoryRequest): CategoryResponse
@DELETE("/categories/{category_id}")
suspend fun deleteCategory(@Path("category_id") categoryId: String): Unit