Commit d4eeeb8b authored by Abhishek Aggarwal's avatar Abhishek Aggarwal
Browse files

Merge branch '5402-master-contacts_sync_npe' into 'master'

AccountManager: properly check for null or empty accesstoken

See merge request !44
parents c840b23d e32e019b
Pipeline #184778 passed with stage
in 7 minutes and 1 second
......@@ -442,7 +442,7 @@ class ContactsSyncManager(
.get()
.url(httpUrl)
if (accessToken!!.isNotEmpty()) {
if (!accessToken.isNullOrEmpty()) {
requestBuilder.header("Authorization", "Bearer $accessToken")
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment