Page MenuHomePhorge

D7727.1765306172.diff
No OneTemporary

Size
624 B
Referenced Files
None
Subscribers
None

D7727.1765306172.diff

diff --git a/keyserver/src/socket/socket.js b/keyserver/src/socket/socket.js
--- a/keyserver/src/socket/socket.js
+++ b/keyserver/src/socket/socket.js
@@ -144,7 +144,7 @@
id: t.Number,
payload: tShape({
endpoint: t.String,
- input: t.Object,
+ input: t.maybe(t.Object),
}),
}),
]);
diff --git a/lib/types/endpoints.js b/lib/types/endpoints.js
--- a/lib/types/endpoints.js
+++ b/lib/types/endpoints.js
@@ -2,7 +2,7 @@
export type APIRequest = {
endpoint: Endpoint,
- input: Object,
+ input?: Object,
};
export type SocketAPIHandler = (request: APIRequest) => Promise<Object>;

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 9, 6:49 PM (4 h, 40 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5856797
Default Alt Text
D7727.1765306172.diff (624 B)

Event Timeline