From 6420e224532e50f27c138bf1eb08aeca0a25570c Mon Sep 17 00:00:00 2001 From: RoiEX Date: Mon, 6 Mar 2017 20:43:06 +0100 Subject: [PATCH] Remove uneccessary curly brackets --- src/controllers/osd.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/osd.js b/src/controllers/osd.js index 13d9b659d5..01bb474033 100644 --- a/src/controllers/osd.js +++ b/src/controllers/osd.js @@ -20,13 +20,13 @@ function generateXML() { { _attr: { xmlns: 'http://a9.com/-/spec/opensearch/1.1/' } }, { ShortName: String(meta.config.title || meta.config.browserTitle || 'NodeBB') }, { Description: String(meta.config.description || '') }, - { Url: [{ + { Url: { _attr: { type: 'text/html', method: 'get', template: nconf.get('url') + '/search?term={searchTerms}&in=titlesposts', }, - }] }, + } }, ], }], { declaration: true, indent: '\t' }); }