fix typo on rese_ incorrect_yob

This commit is contained in:
Carlosokumu 2024-08-25 22:18:55 +03:00
parent a1fde55d8d
commit cd28fd0b5e
Signed by: carlos
GPG Key ID: 7BD6BC8160A5C953

View File

@ -517,7 +517,7 @@ func (fsd *fsData) verify_yob(ctx context.Context, sym string, input []byte) (re
return res, nil
}
func (fsd *fsData) reser_incorrect_yob(ctx context.Context, sym string, input []byte) (resource.Result, error) {
func (fsd *fsData) reset_incorrect_yob(ctx context.Context, sym string, input []byte) (resource.Result, error) {
res := resource.Result{}
res.FlagReset = append(res.FlagReset, USERFLAG_INCORRECTDATEFORMAT)
return res, nil
@ -970,7 +970,7 @@ func main() {
rfs.AddLocalFunc("reset_unlock_for_update", fs.reset_unlock_for_update)
rfs.AddLocalFunc("get_profile_info", fs.get_profile_info)
rfs.AddLocalFunc("verify_yob", fs.verify_yob)
rfs.AddLocalFunc("reset_incorrect_date_format", fs.reser_incorrect_yob)
rfs.AddLocalFunc("reset_incorrect_date_format", fs.reset_incorrect_yob)
cont, err := en.Init(ctx)
en.SetDebugger(engine.NewSimpleDebug(nil))