HomePhabricator
Diffusion Comm df8907048ae7

[services] Tunnelbroker - Add `updateSessionItemDeviceToken` database method

Description

[services] Tunnelbroker - Add updateSessionItemDeviceToken database method

Summary:
This diff introduces a database method to update the device notification token field.
The purpose is to update the device notification token when the token is expired or wrong.

Related Linear task: ENG-1782

Test Plan:

  1. Successfully built the server.
  2. Run the test in D5184 using yarn run-unit-tests and yarn run-integration-tests.

Reviewers: jon, tomek

Reviewed By: jon, tomek

Subscribers: ashoat, tomek, atul, karol, abosh

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