Merge pull request #148 from dikstub-rssa/fix/anything-moko
feat (user): add position reg
This commit is contained in:
@@ -166,6 +166,8 @@ func Create(input e.CreateDto) (*d.Data, error) {
|
|||||||
if _, err := umw.CreateData(createMidWife, &event, tx); err != nil {
|
if _, err := umw.CreateData(createMidWife, &event, tx); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
case ero.EPCReg:
|
||||||
|
// do nothing
|
||||||
default:
|
default:
|
||||||
return errors.New("invalid employee position")
|
return errors.New("invalid employee position")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user