Skip to content

Commit

Permalink
schema file path fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetbltt23 committed Feb 21, 2021
1 parent 1f32e6f commit 604470f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Request/RequestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public function getUrl($environment)
public function getSchemaFile()
{
$local_path = __DIR__.'/../../schemas/'.$this->schemaJsonFileName;
if (!realpath($local_path)) {
if (!file_exists($local_path)) {
file_put_contents($local_path, file_get_contents($this->schema));
}

Expand Down

0 comments on commit 604470f

Please sign in to comment.