diff --git a/lib/routes/admin-api/metrics-schema.js b/lib/routes/admin-api/metrics-schema.js index e6ca5b57f7..95f074c721 100644 --- a/lib/routes/admin-api/metrics-schema.js +++ b/lib/routes/admin-api/metrics-schema.js @@ -1,13 +1,12 @@ 'use strict'; const joi = require('joi'); -const { nameType } = require('./util'); const applicationSchema = joi .object() .options({ stripUnknown: false }) .keys({ - appName: nameType, + appName: joi.string().required(), sdkVersion: joi.string().optional(), strategies: joi .array()