Skip to content

Comments

fix: api/v1/viewers to return proper username and displayName#2607

Merged
SReject merged 1 commit intocrowbartools:v5from
alfw:fix/api-viewers
Jul 14, 2024
Merged

fix: api/v1/viewers to return proper username and displayName#2607
SReject merged 1 commit intocrowbartools:v5from
alfw:fix/api-viewers

Conversation

@alfw
Copy link
Contributor

@alfw alfw commented Jul 13, 2024

Description of the Change

With the refactor of username earlier in the year this endpoint was missed. This was returning the displayName as the username / login name on the API. This change may break integrations / projects that use the api/v1/viewers endpoint where it now will show the login name instead. So this now return the id, username and displayName to still allow integrations / projects to adapt and show ether the displayName or username / login name.

Applicable Issues

Related: #2432

@alfw alfw marked this pull request as ready for review July 13, 2024 19:03
@alfw alfw requested a review from ebiggz as a code owner July 13, 2024 19:03
@SReject SReject merged commit c4d084d into crowbartools:v5 Jul 14, 2024
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