Skip to content

Commit

Permalink
Merge branch 'fix_max_json' into 'develop'
Browse files Browse the repository at this point in the history
fix_may_json

See merge request ILIAS/Plugins/DhbwTraining!15
  • Loading branch information
mstuder committed Apr 9, 2020
2 parents 18512e0 + 4400af1 commit 7efc982
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions classes/Recommender/RecommenderCurl.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ public function start()/*:void*/
ilSession::clear(self::KEY_RESPONSE_TIME_START);

$headers = [
"Accept" => "application/json",
"Content-Type" => "application/json"
"Accept: application/json",
"Content-Type: application/json"
];
$data = [
"secret" => $this->facade->settings()->getSecret(),
Expand Down Expand Up @@ -250,8 +250,8 @@ public function answer(string $recomander_id, int $question_type, $answer)/*:voi
global $DIC;

$headers = [
"Accept" => "application/json",
"Content-Type" => "application/json"
"Accept: application/json",
"Content-Type: application/json"
];

$data = [
Expand Down Expand Up @@ -279,8 +279,8 @@ public function sendRating(string $recomander_id, int $rating)/*:void*/
global $DIC;

$headers = [
"Accept" => "application/json",
"Content-Type" => "application/json"
"Accept: application/json",
"Content-Type: application/json"
];

$data = [
Expand Down

0 comments on commit 7efc982

Please sign in to comment.