Skip to content

Commit

Permalink
[keyserver] Update type for platform in ParsedDelivery
Browse files Browse the repository at this point in the history
Summary: Should have been done in D8699, after we started putting both ios and macos in the platform field but flow didn't complain so I haven't noticed it.

Test Plan: N/A

Reviewers: marcin, tomek, inka

Reviewed By: marcin

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D8705
  • Loading branch information
MichalGniadek committed Aug 4, 2023
1 parent c81f658 commit 12b8115
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keyserver/src/push/rescind.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { dbQuery, SQL } from '../database/database.js';
import type { SQLStatementType } from '../database/types.js';

type ParsedDelivery = {
+platform: 'ios' | 'android',
+platform: 'ios' | 'macos' | 'android',
+codeVersion: ?number,
+notificationID: string,
+deviceTokens: $ReadOnlyArray<string>,
Expand Down

0 comments on commit 12b8115

Please sign in to comment.