Skip to content

Commit

Permalink
not
Browse files Browse the repository at this point in the history
  • Loading branch information
TomK committed Apr 11, 2019
1 parent 7063ee8 commit dcff7d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Resources/ResourceFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public static function create(DispatchResource $resource)

public static function fromFile($fullPath)
{
if(file_exists($fullPath))
if(!file_exists($fullPath))
{
return Response::create('File Not Found', 404);
}
Expand Down

0 comments on commit dcff7d7

Please sign in to comment.