Skip to content

Commit

Permalink
Fix: /events
Browse files Browse the repository at this point in the history
  • Loading branch information
xtrime-ru committed Jul 27, 2023
1 parent 8ac36c6 commit 83b1f8a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
22 changes: 11 additions & 11 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src/EventObservers/EventObserver.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public static function startEventHandler(?string $requestedSession = null): void
$property = new ReflectionProperty($instance, "wrapper");
/** @var APIWrapper $wrapper */
$wrapper = $property->getValue($instance);
EventHandler::cachePlugins(EventHandler::class);
$wrapper->getAPI()->setEventHandler(EventHandler::class);
} catch (Throwable $e) {
static::removeSessionClient($session);
Expand Down

0 comments on commit 83b1f8a

Please sign in to comment.