Remove obsolete parameter

This commit is contained in:
Yarmo Mackenbach 2022-12-12 16:53:59 +01:00
parent 21716a22b8
commit 42a53369b2
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1

View file

@ -116,16 +116,6 @@ router.get('/dns', query('domain').isFQDN(), (req, res) => {
router.get( router.get(
'/xmpp', '/xmpp',
query('id').isEmail(), query('id').isEmail(),
query('field').isIn([
'fn',
'number',
'userid',
'url',
'bday',
'nickname',
'note',
'desc'
]),
async (req, res) => { async (req, res) => {
if ( if (
!opts.claims.xmpp.service || !opts.claims.xmpp.service ||