mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-27 01:39:53 +01:00
11 lines
249 B
JavaScript
11 lines
249 B
JavaScript
'use strict';
|
|
|
|
const api = require('../../api');
|
|
const helpers = require('../helpers');
|
|
|
|
const Search = module.exports;
|
|
|
|
Search.categories = async (req, res) => {
|
|
helpers.formatApiResponse(200, res, await api.search.categories(req, req.query));
|
|
};
|