Files
RSSHub/lib/routes-deprecated/amazfitwatchfaces/updated.js
T
2024-03-01 01:24:49 +08:00

8 lines
288 B
JavaScript

const utils = require('./utils');
module.exports = async (ctx) => {
const currentUrl = `${ctx.params.model}/updated?${ctx.params.lang ? 'lang=' + ctx.params.lang : ''}${ctx.params.type ? '&compatible=' + ctx.params.type : ''}`;
ctx.state.data = await utils(ctx, currentUrl);
};