From 460a3d19f731831db673057720810c619fcb78aa Mon Sep 17 00:00:00 2001 From: Carlosokumu Date: Mon, 26 Aug 2024 17:00:04 +0300 Subject: [PATCH] register all flags --- cmd/main.go | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cmd/main.go b/cmd/main.go index fcd91ce..beddaf0 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -40,6 +40,17 @@ func main() { state.FlagDebugger.Register(models.USERFLAG_ACCOUNT_SUCCESS, "ACCOUNT_SUCCESS") state.FlagDebugger.Register(models.USERFLAG_ACCOUNT_PENDING, "ACCOUNT_PENDING") state.FlagDebugger.Register(models.USERFLAG_INCORRECTPIN, "INCORRECTPIN") + state.FlagDebugger.Register(models.USERFLAG_INCORRECTDATEFORMAT,"INVALIDDATEFORMAT") + state.FlagDebugger.Register(models.USERFLAG_INVALID_RECIPIENT,"INVALIDRECIPIENT") + state.FlagDebugger.Register(models.USERFLAG_PINMISMATCH,"PINMISMATCH") + state.FlagDebugger.Register(models.USERFLAG_QUERYPIN,"QUERYPIN") + state.FlagDebugger.Register(models.USERFLAG_INVALID_RECIPIENT_WITH_INVITE,"INVALIDRECIPIENT_WITH_INVITE") + state.FlagDebugger.Register(models.USERFLAG_INVALID_AMOUNT,"INVALIDAMOUNT") + state.FlagDebugger.Register(models.USERFLAG_UNLOCKFORUPDATE,"UNLOCKFORUPDATE") + state.FlagDebugger.Register(models.USERFLAG_VALIDPIN,"VALIDPIN") + state.FlagDebugger.Register(models.USERFLAG_VALIDPIN,"ACCOUNTUNLOCKED") + + rfs := resource.NewFsResource(scriptDir) ca := cache.NewCache()