summaryrefslogtreecommitdiff
path: root/src/api/stream
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/stream')
-rw-r--r--src/api/stream/home.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/api/stream/home.ts b/src/api/stream/home.ts
index 10078337c3..cc3fb885e4 100644
--- a/src/api/stream/home.ts
+++ b/src/api/stream/home.ts
@@ -66,6 +66,10 @@ export default async function(request: websocket.request, connection: websocket.
const msg = JSON.parse(data.utf8Data);
switch (msg.type) {
+ case 'api':
+ // TODO
+ break;
+
case 'alive':
// Update lastUsedAt
User.update({ _id: user._id }, {