mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-06 03:52:26 +00:00
fix bug with empty result and non table result
This commit is contained in:
@@ -28,7 +28,7 @@ func write(nid string, w http.ResponseWriter, msg *RPCResponse) error {
|
||||
msg.Salt = generateSalt()
|
||||
if msg.Result != nil {
|
||||
msg.Checksum = generateChecksum(msg.Result)
|
||||
} else {
|
||||
} else if msg.Error != nil {
|
||||
msg.Checksum = generateChecksum(msg.Error)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user