HomePhabricator
Diffusion Comm 49029b5be90d

[lib] Fix updatesCurrentAsOf returned from siweAuth

Description

[lib] Fix updatesCurrentAsOf returned from siweAuth

Summary: siweAuth returns LogInResult where updatesCurrentAsOf is of type {+[keyserverID: string]: number}. response.serverTime is a number. Flow didn't catch this because to it response is any. We use ashoatKeyserverID because this action was not yet refactored to work with multiple keyservers.

Test Plan: Checked that the types are now correct

Reviewers: kamil, michal, ginsu, ashoat

Reviewed By: ashoat

Subscribers: varun, ashoat, tomek

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

Details

Provenance
inkaAuthored on Dec 5 2023, 3:27 AM
Reviewer
ashoat
Differential Revision
D10190: [lib] Fix updatesCurrentAsOf returned from siweAuth
Parents
rCOMMdfce6a8033d4: [lib] Remove $FlowFixMes in message-reducer.js
Branches
Unknown
Tags
Unknown