Skip to content

Commit

Permalink
Merge pull request #1 from gponty/doc
Browse files Browse the repository at this point in the history
Fix doc
  • Loading branch information
gponty authored Jun 9, 2023
2 parents 6867bb4 + 9953201 commit 85b2db6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ Inject the service in your controller :
Use the service :

``` php
$response = $this->idLoomApiService->request('GET','/attendees');
$this->idLoomApiService->setKey('abcdefdfhijklmnopqrstuvwxyz');
$options = [ 'event_uid' => '1234567890'];
$response = $this->idLoomApiService->request('GET','/attendees',$options);
```

It's not possible to put api key in .env file because you can have different keys for different events.
Expand Down

0 comments on commit 85b2db6

Please sign in to comment.