mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
feat: update follow config
This commit is contained in:
@@ -17,7 +17,7 @@ const handler: RouteHandler<typeof route> = (ctx) =>
|
||||
ownerUserId: config.follow.ownerUserId,
|
||||
description: config.follow.description,
|
||||
price: config.follow.price,
|
||||
limit: config.follow.limit,
|
||||
userLimit: config.follow.userLimit,
|
||||
});
|
||||
|
||||
export { route, handler };
|
||||
|
||||
+2
-2
@@ -90,7 +90,7 @@ export type Config = {
|
||||
ownerUserId?: string;
|
||||
description?: string;
|
||||
price?: number;
|
||||
limit?: number;
|
||||
userLimit?: number;
|
||||
};
|
||||
|
||||
// Route-specific Configurations
|
||||
@@ -520,7 +520,7 @@ const calculateValue = () => {
|
||||
ownerUserId: envs.FOLLOW_OWNER_USER_ID,
|
||||
description: envs.FOLLOW_DESCRIPTION,
|
||||
price: toInt(envs.FOLLOW_PRICE),
|
||||
limit: toInt(envs.FOLLOW_LIMIT),
|
||||
userLimit: toInt(envs.FOLLOW_USER_LIMIT),
|
||||
},
|
||||
|
||||
// Route-specific Configurations
|
||||
|
||||
Reference in New Issue
Block a user