parent
e8aa07afd9
commit
87a345fd01
|
|
@ -24,7 +24,7 @@ const config = {
|
|||
};
|
||||
|
||||
module.exports = async (ctx) => {
|
||||
const cfg = config[ctx.params.caty];
|
||||
const cfg = config[ctx.params.caty];
|
||||
if (!cfg) {
|
||||
throw Error('Bad category. See <a href="https://docs.rsshub.app/government.html#guang-dong-sheng-jiao-yu-ting">docs</a>');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue