add category insert

This commit is contained in:
2024-11-19 22:45:31 +07:00
parent 20652b127c
commit 718d2e5e98
11 changed files with 164 additions and 64 deletions
+2 -1
View File
@@ -19,7 +19,8 @@ service SmmCore {
// categories
rpc AddCategory(CreateCategoryReq) returns (Category) {
option (google.api.http) = {
post: "/categories"
post: "/categories",
body: "*"
};
}
rpc UpdateCategory(UpdateCategoryReq) returns (Category) {