Skip to content

Commit

Permalink
Merge pull request #36 from ToshY/bug/35-stream-delete-video-and-coll…
Browse files Browse the repository at this point in the history
…ection

Fixed requests for stream methods deleteVideo and deleteCollection
  • Loading branch information
ToshY authored Sep 23, 2022
2 parents 1f4f2e7 + 0957314 commit baf3d94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/VideoStreamRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function deleteCollection(int $libraryId, string $collectionId): array
$endpoint = CollectionEndpoint::DELETE_COLLECTION;

return $this->request(
$endpoint['method'],
$endpoint,
[$libraryId, $collectionId],
);
}
Expand Down Expand Up @@ -168,7 +168,7 @@ public function deleteVideo(int $libraryId, string $videoId): array
$endpoint = VideoEndpoint::DELETE_VIDEO;

return $this->request(
$endpoint['method'],
$endpoint,
[$libraryId, $videoId]
);
}
Expand Down

0 comments on commit baf3d94

Please sign in to comment.