From 6d55f354048b22d7292a885b5bab8975322b9a1f Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Sun, 17 Apr 2022 11:59:31 +0800 Subject: [PATCH] organization --- cmd/open_im_api/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/open_im_api/main.go b/cmd/open_im_api/main.go index 57d534b0c..4ffca2a56 100644 --- a/cmd/open_im_api/main.go +++ b/cmd/open_im_api/main.go @@ -152,7 +152,7 @@ func main() { { organizationGroup.POST("/create_department", organization.CreateDepartment) organizationGroup.POST("/update_department", organization.UpdateDepartment) - organizationGroup.POST("/get_department", organization.GetSubDepartment) + organizationGroup.POST("/get_sub_department", organization.GetSubDepartment) organizationGroup.POST("/delete_department", organization.DeleteDepartment) organizationGroup.POST("/create_organization_user", organization.CreateOrganizationUser) organizationGroup.POST("/update_organization_user", organization.UpdateOrganizationUser)