aboutsummaryrefslogtreecommitdiff
path: root/backends/cloud/onedrive/onedrivetokenrefresher.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'backends/cloud/onedrive/onedrivetokenrefresher.cpp')
-rw-r--r--backends/cloud/onedrive/onedrivetokenrefresher.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/backends/cloud/onedrive/onedrivetokenrefresher.cpp b/backends/cloud/onedrive/onedrivetokenrefresher.cpp
index bf849f7964..04e155c084 100644
--- a/backends/cloud/onedrive/onedrivetokenrefresher.cpp
+++ b/backends/cloud/onedrive/onedrivetokenrefresher.cpp
@@ -56,10 +56,10 @@ void OneDriveTokenRefresher::tokenRefreshed(Storage::BoolResponse response) {
retry(0);
}
-void OneDriveTokenRefresher::finishSuccess(Common::JSONValue *json) {
+void OneDriveTokenRefresher::finishJson(Common::JSONValue *json) {
if (!json) {
//that's probably not an error (200 OK)
- CurlJsonRequest::finishSuccess(nullptr);
+ CurlJsonRequest::finishJson(nullptr);
return;
}
@@ -105,7 +105,7 @@ void OneDriveTokenRefresher::finishSuccess(Common::JSONValue *json) {
}
//notify user of success
- CurlJsonRequest::finishSuccess(json);
+ CurlJsonRequest::finishJson(json);
}
void OneDriveTokenRefresher::setHeaders(Common::Array<Common::String> &headers) {