Skip to content

Commit

Permalink
fix: update config file
Browse files Browse the repository at this point in the history
  • Loading branch information
glennmichael123 committed Apr 27, 2021
1 parent 8948edc commit 02acd33
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
*/
'api_key' => env('MEEMA_API_KEY', ''),

/*
* The publishable API key provided by the meema API
*/
'api_secret_key' => env('MEEMA_API_SECRET', ''),

/*
* If you prefer to not work with a collections, you may set this
* value to false and there will be an array response.
Expand Down
2 changes: 1 addition & 1 deletion src/Providers/MeemaServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function boot()

Storage::extend('meema', function ($app, $config) {
$client = new MeemaClient(
$config['meema.secret_api_key']
$config['meema.api_secret_key']
);

return new Filesystem(new MeemaAdapter($client));
Expand Down

0 comments on commit 02acd33

Please sign in to comment.