Page MenuHomePhabricator

[lib] fix `callServerEndpoint` returning `undefined`
ClosedPublic

Authored by kamil on May 8 2023, 5:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 2, 12:37 AM
Unknown Object (File)
Thu, Jan 2, 12:37 AM
Unknown Object (File)
Thu, Jan 2, 12:36 AM
Unknown Object (File)
Thu, Jan 2, 12:21 AM
Unknown Object (File)
Dec 4 2024, 4:42 PM
Unknown Object (File)
Dec 4 2024, 4:41 PM
Unknown Object (File)
Dec 4 2024, 4:41 PM
Unknown Object (File)
Dec 4 2024, 3:48 PM
Subscribers

Details

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.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable