forked from urdt/ussd
Return the response and the error
This commit is contained in:
parent
01c13ec581
commit
e14fd5e496
@ -203,7 +203,7 @@ func (h *Handlers) SavePin(ctx context.Context, sym string, input []byte) (resou
|
||||
|
||||
err = utils.WriteEntry(ctx, h.userdataStore, sessionId, utils.DATA_ACCOUNT_PIN, []byte(accountPIN))
|
||||
if err != nil {
|
||||
return res, nil
|
||||
return res, err
|
||||
}
|
||||
|
||||
return res, nil
|
||||
|
Loading…
Reference in New Issue
Block a user