Skip to content

Commit

Permalink
Merge pull request #246 from peviitor-ro/fix-245
Browse files Browse the repository at this point in the history
updated v0/updateuser urls
  • Loading branch information
sebiboga committed Jul 13, 2024
2 parents 805bffd + d396daf commit e53ed4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions v0/updateuser/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
$user = $data[0]->id;
$user = urlencode($user);

$url = 'http://' . $server . '/solr/' . '/select'. $qs . $user;
$url = 'http://' . $server . '/solr/' . $core . '/select'. $qs . $user;

$json = file_get_contents($url);
$json = json_decode($json);
Expand Down Expand Up @@ -61,7 +61,7 @@

$context = stream_context_create($options);

$url = 'http://' . $server . $core . $command . $qs;
$url = 'http://' . $server . '/solr/' . $core . $command . $qs;

$result = file_get_contents($url, false, $context);

Expand Down

0 comments on commit e53ed4f

Please sign in to comment.