10 lines
211 B
JavaScript
10 lines
211 B
JavaScript
const fetchItems = require('./utils');
|
|
|
|
module.exports = async (ctx) => {
|
|
const id = ctx.params.id;
|
|
|
|
const currentUrl = `onlyfans/user/${id}`;
|
|
|
|
ctx.state.data = await fetchItems(ctx, currentUrl);
|
|
};
|