Skip to content

fix: users v2 following and followed_by, WEB-1071#646

Merged
pleary merged 1 commit into
mainfrom
web-1071-fix-v2users-followed_by-parameter
Jul 8, 2026
Merged

fix: users v2 following and followed_by, WEB-1071#646
pleary merged 1 commit into
mainfrom
web-1071-fix-v2users-followed_by-parameter

Conversation

@pleary

@pleary pleary commented Jul 8, 2026

Copy link
Copy Markdown
Member

Ensure we only look at rows where friendship = 't' and where the relevant user is not suspended when searching followers or followees

@pleary pleary requested a review from caseyhofford July 8, 2026 15:11

@caseyhofford caseyhofford left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, tested it out locally and works as expected.

).to.be.undefined;
expect( res.body.total_results ).to.eq( _.size( followees ) );
expect( _.sortBy( _.map( res.body.results, "id" ) ) ).to.deep.eq(
_.sortBy( followees )

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, thanks for updating these specs with a stronger assertion!

@pleary pleary merged commit f622dc0 into main Jul 8, 2026
5 checks passed
@pleary pleary deleted the web-1071-fix-v2users-followed_by-parameter branch July 8, 2026 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants