mirror of
https://github.com/rwinkhart/libmutton.git
synced 2026-09-01 14:47:25 -04:00
Return sync lists using custom type
This commit is contained in:
@@ -205,7 +205,7 @@ func GenDeviceID(oldDeviceID, prefix string) (string, string, bool, error) {
|
||||
cleanupOnFail()
|
||||
return "", "", false, errors.New("unable to register device ID with server: " + err.Error())
|
||||
}
|
||||
var registerResp synccommon.RegisterResp
|
||||
var registerResp synccommon.RegisterRespT
|
||||
if err = json.Unmarshal(output, ®isterResp); err != nil {
|
||||
cleanupOnFail()
|
||||
return "", "", false, errors.New("unable to unmarshal server register response: " + err.Error())
|
||||
|
||||
Reference in New Issue
Block a user