HomePhabricator
Diffusion Comm ef15fb4e402c

[lib] update `currentAsOf` for SIWE auth

Description

[lib] update currentAsOf for SIWE auth

Summary:
Updating this to have correct type.

This partially caused ENG-5883.
We were returning 0 as the default value for currentAsOf in here: link.
This later caused a condition from D9965 truthy right after login.

Test Plan:

  1. Log currentAsOf
  2. Log in using SIWE
  3. Make sure it has correct type and value (previously it was number, not object).

Reviewers: inka, tomek, michal, ashoat

Reviewed By: ashoat

Subscribers: ashoat

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

Details

Provenance
kamilAuthored on Nov 27 2023, 9:15 AM
Reviewer
ashoat
Differential Revision
D10058: [lib] update `currentAsOf` for SIWE auth
Parents
rCOMM1bb4d1144d4e: [keyserver] Separate webapp and keyserver endpoints
Branches
Unknown
Tags
Unknown