mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-05 13:38:02 +02: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));
|
|
};
|