Co-authored-by: SettingDust <settingdust@gmail.com> Co-authored-by: DIYgod <diy.d.god@gmail.com>
8 lines
213 B
JavaScript
8 lines
213 B
JavaScript
const parse = require('./parse');
|
|
|
|
module.exports = (ctx) => {
|
|
const max = ctx.query.limit || 50;
|
|
const { label } = ctx.params;
|
|
return parse(ctx, `search/label/${label}?max-results=${max}`, label);
|
|
};
|