Page MenuHomePhabricator

D11967.id39997.diff
No OneTemporary

D11967.id39997.diff

diff --git a/lib/types/validators/version-validators.js b/lib/types/validators/version-validators.js
--- a/lib/types/validators/version-validators.js
+++ b/lib/types/validators/version-validators.js
@@ -2,12 +2,12 @@
import t, { type TInterface } from 'tcomb';
-import { tShape } from '../../utils/validation-utils.js';
+import { tShape, tUserID } from '../../utils/validation-utils.js';
import type { VersionResponse } from '../device-types.js';
export const versionResponseValidator: TInterface<VersionResponse> =
tShape<VersionResponse>({
codeVersion: t.Number,
ownerUsername: t.maybe(t.String),
- ownerID: t.maybe(t.String),
+ ownerID: t.maybe(tUserID),
});

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 27, 4:16 AM (8 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2707642
Default Alt Text
D11967.id39997.diff (694 B)

Event Timeline