Compare commits

..

No commits in common. "cb31616a8710ad8c58af7a96284ef43af0600e74" and "460a3d19f731831db673057720810c619fcb78aa" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View File

@ -229,8 +229,7 @@ func (h *Handlers) SaveYob(cxt context.Context, sym string, input []byte) (resou
if err != nil {
return res, err
}
yob := string(input)
if len(yob) > 4 {
if len(input) > 0 {
yob := string(input)
accountData["YOB"] = yob
updatedJsonData, err := json.Marshal(accountData)

View File

@ -8,8 +8,8 @@ MOUT help 4
MOUT quit 9
HALT
INCMP send 1
INCMP quit 2
INCMP vouchers 2
INCMP my_account 3
INCMP quit 4
INCMP help 4
INCMP quit 9
INCMP . *