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)
Tue, Apr 23, 7:56 PM
Unknown Object (File)
Apr 5 2024, 2:43 PM
Unknown Object (File)
Apr 5 2024, 2:43 PM
Unknown Object (File)
Apr 5 2024, 2:43 PM
Unknown Object (File)
Apr 5 2024, 2:34 PM
Unknown Object (File)
Feb 20 2024, 3:58 PM
Unknown Object (File)
Feb 20 2024, 3:33 PM
Unknown Object (File)
Feb 20 2024, 3:27 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