feat: update follow config

This commit is contained in:
DIYgod 2024-12-24 16:56:52 +08:00
parent df1b4369c0
commit 131bc33637
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View File

@ -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 };

View File

@ -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