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

Commit

Permalink
Merge pull request #49 from BurdaMagazinOrg/fix/stars_are_not_sync
Browse files Browse the repository at this point in the history
Sync stars to Nexx
  • Loading branch information
secmi authored Apr 26, 2018
2 parents 3dfa9a0 + 277382c commit 6ab549c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/NexxNotification.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,10 @@ protected function notificateNexx(
$omnia_id = $this->config->get('omnia_id');

$api_url = $this->config->get('nexx_api_url') . 'v3/' . $omnia_id . '/manage/' . $streamtype . '/';
if ($command == 'insert') {
if ($command == 'insert' && $streamtype == 'actors') {
$api_url .= 'fromdata/';
}
elseif ($command == 'insert') {
$api_url .= 'add/';
}
elseif ($command == 'update') {
Expand Down

0 comments on commit 6ab549c

Please sign in to comment.