jhthorsen / json-validator

:cop: Validate data against a JSON schema
https://metacpan.org/release/JSON-Validator
56 stars 58 forks source link

Clean up deprecated internal call #165

Closed mattias-p closed 5 years ago

mattias-p commented 5 years ago

Summary

Replaces an instance of deprecated API usage with its proper equivalent.

Motivation

When you call JSON::Validator::Joi::validate you get a deprecation warning from another part of JSON::Validator. That's not right.

jhthorsen commented 5 years ago

Oh! I'll merge this at once 👍