Skip to content

Commit

Permalink
Load jsonapi_schema.json properly
Browse files Browse the repository at this point in the history
Co-authored-by: Patryk Ptasiński <p.ptasinski@visuality.pl>
  • Loading branch information
Marahin and ipepe authored Oct 1, 2020
1 parent 6776da5 commit 9c36245
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jsonapi_parameters/validator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
require 'json_schemer'

module JsonApi::Parameters
SCHEMA_PATH = 'lib/jsonapi_parameters/jsonapi_schema.json'.freeze
SCHEMA_PATH = Pathname.new(__dir__).join('jsonapi_schema.json').to_s.freeze

private

Expand Down

0 comments on commit 9c36245

Please sign in to comment.