Skip to content

Commit

Permalink
feat: update follow config
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Dec 24, 2024
1 parent df1b436 commit 131bc33
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/api/follow/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
4 changes: 2 additions & 2 deletions lib/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export type Config = {
ownerUserId?: string;
description?: string;
price?: number;
limit?: number;
userLimit?: number;
};

// Route-specific Configurations
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 131bc33

Please sign in to comment.