fix golang compilation error

This commit is contained in:
root
2021-07-16 13:48:38 +00:00
parent bb552d50a8
commit 62f6a71e75

View File

@@ -40,7 +40,7 @@ func (dbobj dbcon) acceptAgreement(userTOKEN string, mode string, identity strin
}
encIdentity := ""
if len(identity) > 0 {
encIdentity, _ := basicStringEncrypt(identity, dbobj.masterKey, dbobj.GetCode())
encIdentity, _ = basicStringEncrypt(identity, dbobj.masterKey, dbobj.GetCode())
}
if len(userTOKEN) > 0 {
// first check if this agreement exists, then update