|
|
@@ -41,7 +41,7 @@ func (simple *Simple) Bind(binder *binding.Binder) {
|
|
|
}), entity_crud.WithUpdateCallbacks(&entity_crud.UpdateCallbacks{
|
|
|
Prepare: func(c *api.Context, e entity.Entity, i *infrastructure.Infrastructure) (map[string]any, error) {
|
|
|
userInfo := c.GetUserInfo()
|
|
|
- err := domain.SetField(e, entity.FieldCreateUserID, userInfo.GetID())
|
|
|
+ err := domain.SetField(e, entity.FieldLastUpdateUserID, userInfo.GetID())
|
|
|
if err != nil {
|
|
|
return nil, err
|
|
|
}
|