Add plugin API tests
This commit is contained in:
parent
9b474844e8
commit
09071200c7
19 changed files with 481 additions and 79 deletions
|
@ -127,6 +127,9 @@ const listAvailablePluginsValidator = [
|
|||
query('pluginType')
|
||||
.optional()
|
||||
.custom(isPluginTypeValid).withMessage('Should have a valid plugin type'),
|
||||
query('currentPeerTubeEngine')
|
||||
.optional()
|
||||
.custom(isPluginVersionValid).withMessage('Should have a valid current peertube engine'),
|
||||
|
||||
(req: express.Request, res: express.Response, next: express.NextFunction) => {
|
||||
logger.debug('Checking enabledPluginValidator parameters', { parameters: req.query })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue