Skip to content

Commit

Permalink
fix(BotService): correct parameters in bot enable/disable requests
Browse files Browse the repository at this point in the history
Signed-off-by: Sanskar Soni <sanskarsoni300@gmail.com>
  • Loading branch information
sanskar-soni-9 committed Sep 9, 2024
1 parent 8effd0b commit ca73411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Service/BotService.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function afterBotEnabled(BotEnabledEvent $event): void {
'id' => Attendee::ACTOR_BOTS . '/' . Attendee::ACTOR_BOT_PREFIX . $event->getBotServer()->getUrlHash(),
'name' => $event->getBotServer()->getName(),
],
'object' => [
'target' => [
'type' => 'Collection',
'id' => $event->getRoom()->getToken(),
'name' => $event->getRoom()->getName(),
Expand All @@ -78,7 +78,7 @@ public function afterBotDisabled(BotDisabledEvent $event): void {
'id' => Attendee::ACTOR_BOTS . '/' . Attendee::ACTOR_BOT_PREFIX . $event->getBotServer()->getUrlHash(),
'name' => $event->getBotServer()->getName(),
],
'object' => [
'target' => [
'type' => 'Collection',
'id' => $event->getRoom()->getToken(),
'name' => $event->getRoom()->getName(),
Expand Down

0 comments on commit ca73411

Please sign in to comment.