mirror of
https://github.com/rclone/rclone.git
synced 2025-01-24 12:56:36 +02:00
451d7badf7
the field `raw` of `oauth2.Token` may be an uncomparable type(often map[string]interface{}), causing `*token != *ts.token` expression to panic(comparing uncomparable type ...). the semantics of comparing whether two tokens are the same can be achieved by comparing accessToken, refreshToken and expire to avoid panic.