feat: update follow config
This commit is contained in:
parent
df1b4369c0
commit
131bc33637
|
|
@ -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 };
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue