Skip to content

Commit

Permalink
refact(model): seperate model with different schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Matrix-X committed Oct 9, 2024
1 parent 153a0be commit a57a94f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/logic/admin/department/createdepartmentlogic.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func (l *CreateDepartmentLogic) CreateDepartment(req *types.CreateDepartmentRequ
dep := organization.Department{
Name: req.DepName,
PId: req.PId,
LeaderUuid: req.LeaderUuid,
LeaderUuid: &req.LeaderUuid,
Desc: req.Desc,
PhoneNumber: req.PhoneNumber,
Email: req.Email,
Expand Down

0 comments on commit a57a94f

Please sign in to comment.