Closed ivopaunov closed 5 years ago
you can use celebrate and joi, as we do in the validator-stack
On Tue, 26 Mar 2019 at 22:35, Ivo Paunov notifications@github.com wrote:
Validate slots https://github.com/AdExNetwork/adex-market/blob/9cc35d5674e4a606f00230a0f41fd2b29130bda7/routes/adSlots.js#L41 and units https://github.com/AdExNetwork/adex-market/blob/9cc35d5674e4a606f00230a0f41fd2b29130bda7/routes/adUnits.js#L40
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/AdExNetwork/adex-market/issues/10, or mute the thread https://github.com/notifications/unsubscribe-auth/ABMJjc2nMfS7AOxGXJU_i1m6RxmwtcyVks5vaoSegaJpZM4cMZOQ .
--
[image: photo] Ivo Georgiev Founder & CEO, Stremio
https://www.stremio.com http://www.stremio.com
GPG: AC692BE9EB6E024B5C58A8EAC1E94996BC56BACE http://www.stremio.com http://www.facebook.com/stremio/ http://twitter.com/stremio http://www.instagram.com/stremioofficial/ http://www.reddit.com/r/Stremio/ http://blog.stremio.com/
https://play.google.com/store/apps/details?id=com.stremio.beta https://itunes.apple.com/us/app/stremio/id987232010?mt=8
Use the new spec for and https://github.com/AdExNetwork/adex-protocol/blob/master/adSlot.md Add spec props to ipfs
Validate slots and units