Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 303496a

Browse files
#35 - correct joi module
1 parent af15ea6 commit 303496a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const config = require('config')
66
const fs = require('fs')
77
const path = require('path')
88
const logger = require('./common/logger')
9-
const joi = require('joi')
9+
const joi = require('@hapi/joi')
1010

1111
joi.id = () => joi.number().integer().min(1)
1212
joi.pageSize = () => joi.number().integer().min(1).max(config.get('MAX_PAGE_SIZE'))

0 commit comments

Comments
 (0)