Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Activity feed service fix #3592

Merged
merged 5 commits into from
Feb 7, 2024
Merged

Activity feed service fix #3592

merged 5 commits into from
Feb 7, 2024

Conversation

valentinyanakiev
Copy link
Member

The activity feed service getAllAuthorizedCollaborations's implementation is expecting Promise<string[]> but the logic returned Promise<string[] | never>.

I have altered the logic to work as expected, based on standard notation we use, and standard contracts we use. If it is getAllAuthorizedCollaborationsOrFail, I'd expect the behaviour observed before the fix (- the handling of the childCollaborations).

hero101
hero101 previously approved these changes Feb 7, 2024
Copy link
Contributor

@hero101 hero101 left a comment

Choose a reason for hiding this comment

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

Ideally you should try-catch only the throwable, but this is also fine.

@valentinyanakiev valentinyanakiev merged commit b797406 into develop Feb 7, 2024
1 of 2 checks passed
@valentinyanakiev valentinyanakiev deleted the server-3588 branch February 7, 2024 15:19
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.

None yet

2 participants