fix(backend): withReplies of following/create not working

This commit is contained in:
anatawa12 2023-10-16 17:37:58 +09:00
parent 9a941941b0
commit da5a0b5336
No known key found for this signature in database
GPG Key ID: 9CA909848B8E4EA6
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
}
try {
await this.userFollowingService.follow(follower, followee, {});
await this.userFollowingService.follow(follower, followee, { withReplies: ps.withReplies });
} catch (e) {
if (e instanceof IdentifiableError) {
if (e.id === '710e8fb0-b8c3-4922-be49-d5d93d8e6a6e') throw new ApiError(meta.errors.blocking);