Skip to content

Commit

Permalink
Updated default user value altered as id value for the first user
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammedsaidckr committed Dec 11, 2023
1 parent e6c767d commit d47abcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClientProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function boot(Container $container)

protected function getAgent(SettingsRepositoryInterface $settings, ExtensionManager $extensions): Agent
{
$userId = $settings->get('muhammedsaidckr-chatgpt.user_prompt') ?? 'flarum';
$userId = $settings->get('muhammedsaidckr-chatgpt.user_prompt') ?? 1;

/** @var \Flarum\User\UserRepository $users */
$users = $this->container->make(UserRepository::class);
Expand Down

0 comments on commit d47abcc

Please sign in to comment.