Skip to content

Commit

Permalink
🐛 Fixed HTTP curl certificate issue
Browse files Browse the repository at this point in the history
  • Loading branch information
chapdel committed Aug 1, 2022
1 parent ca6db5b commit 84180d1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"nuxt.isNuxtApp": false
}
2 changes: 1 addition & 1 deletion src/Console/Hydrate.php
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ public function handle()
//get rates form forexapi
$r = Http::withHeaders([
'X-API-Key' => config('currency.api_key'),
])->get('https://api.restuniverse.com/currencies/rates');
])->withOptions(['verify' => false])->get('https://api.restuniverse.com/currencies/rates');



Expand Down

0 comments on commit 84180d1

Please sign in to comment.