Skip to content

Commit

Permalink
Importer bugs fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmard authored and Ahmard committed Jan 20, 2021
1 parent 9b46ebc commit bf47533
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Importer.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ public static function __callStatic(string $method, array $args): Importer
public function save(string $file): void
{
if (isset($this->request)){
var_dump(Request::useRequest($this->request)
Request::useRequest($this->request)
->get($this->url)
->sink($file)
->getRequestData());
->exec();
}else{
Request::get($this->url)->sink($file)->execute();
Request::get($this->url)->sink($file)->exec();
}
}

Expand Down

0 comments on commit bf47533

Please sign in to comment.