Skip to content

Commit

Permalink
fix: no trx handling
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Buchleitner <[email protected]>
  • Loading branch information
mabunixda committed Sep 8, 2023
1 parent f0b5278 commit f342cb1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions wattpilot.go
Original file line number Diff line number Diff line change
Expand Up @@ -718,6 +718,9 @@ func (w *Wattpilot) GetRFID() (string, error) {
if err != nil {
return "", err
}
if resp == nil {
return "", nil
}
return resp.(string), nil

}
Expand All @@ -728,6 +731,9 @@ func (w *Wattpilot) GetCarIdentifier() (string, error) {
if err != nil {
return "", err
}
if resp == nil {
return "", nil
}
return resp.(string), nil

}

0 comments on commit f342cb1

Please sign in to comment.