From 42a53369b2926e66a9f2a5911c18fe338846036e Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Mon, 12 Dec 2022 16:53:59 +0100 Subject: [PATCH] Remove obsolete parameter --- src/api/v2/proxy_get.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/api/v2/proxy_get.js b/src/api/v2/proxy_get.js index a043a09..51a08db 100644 --- a/src/api/v2/proxy_get.js +++ b/src/api/v2/proxy_get.js @@ -116,16 +116,6 @@ router.get('/dns', query('domain').isFQDN(), (req, res) => { router.get( '/xmpp', query('id').isEmail(), - query('field').isIn([ - 'fn', - 'number', - 'userid', - 'url', - 'bday', - 'nickname', - 'note', - 'desc' - ]), async (req, res) => { if ( !opts.claims.xmpp.service ||