From e911db3a0fa8f508cbfb3b1e9880f1bf03564e7f Mon Sep 17 00:00:00 2001 From: yusufbektemir Date: Tue, 9 Jun 2020 11:14:15 +0300 Subject: [PATCH] fix stream target update service url --- src/StreamTarget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/StreamTarget.php b/src/StreamTarget.php index 80976f2..2fcbc5f 100644 --- a/src/StreamTarget.php +++ b/src/StreamTarget.php @@ -61,7 +61,7 @@ public function update( $streamName = null, $application = null ) { - $this->restURI = $this->restURI . "/" . $entryName; + $this->restURI = $this->getRestURI() . "/" . $entryName; $this->sourceStreamName = (!is_null($sourceStreamName)) ? $sourceStreamName : $this->sourceStreamName; $this->entryName = (!is_null($entryName)) ? $entryName : $this->entryName; $this->profile = (!is_null($profile)) ? $profile : $this->profile;