✌️
This commit is contained in:
parent
12f472b3fc
commit
bec7ed723b
3 changed files with 56 additions and 50 deletions
|
|
@ -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 }, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue