Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Commit

Permalink
Adapt to cs3org/reva#3695
Browse files Browse the repository at this point in the history
  • Loading branch information
root committed Mar 2, 2023
1 parent b7744b4 commit 194732f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/RevaHttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ public function createShare($user, $params) {
$params["loginType"] = "basic";
$params["loginUsername"] = $user;
$params["loginPassword"] = $this->revaLoopbackSecret;
error_log("Calling reva/ocm/send " . json_encode($params));
$responseText = $this->revaPost('ocm/send', $user, $params);
error_log("Calling reva/sciencemesh/create-share " . json_encode($params));
$responseText = $this->revaPost('sciencemesh/create-share', $user, $params);
return json_decode($responseText);
}

Expand All @@ -147,4 +147,4 @@ public function generateTokenFromReva($userId) {
error_log('Got token from reva!' . $tokenFromReva);
return json_decode($tokenFromReva, true);
}
}
}

0 comments on commit 194732f

Please sign in to comment.