HomePhabricator
Diffusion Comm 0357995e2016

[lib] fix `callServerEndpoint` returning `undefined`

Description

[lib] fix callServerEndpoint returning undefined

Summary:
This is fix for some serious issue - context in ENG-3806.
When policies were not accepted this function was returning undefined instead of throwing an error to inform the caller that the request did not succeed.

Test Plan: Test policy acknowledgment flow on web, native, and desktop in multiple scenarios.

Reviewers: tomek, michal, ashoat

Reviewed By: ashoat

Subscribers: ashoat, atul

Differential Revision: https://phab.comm.dev/D7741

Details

Provenance
kamilAuthored on May 8 2023, 5:29 AM
Reviewer
ashoat
Differential Revision
D7741: [lib] fix `callServerEndpoint` returning `undefined`
Parents
rCOMM7c542a78a07f: [web] Always disable default authorName and always show avatars in messageā€¦
Branches
Unknown
Tags
Unknown