Skip to content

Commit ac98c12

Browse files
Removed data types from socket
1 parent b8e0b94 commit ac98c12

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

internal/session/socket.go

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,16 +60,6 @@ func (m *Manager) handleWebSocketCommands(conn *websocket.Conn, username, sessio
6060
if err := m.sendCurrentUserTransactionsPending(conn, sessionID, 100); err != nil {
6161
m.errCh <- fmt.Errorf("failed to send current list of results transactions on command: %w", err)
6262
}
63-
case CtxStreamUserArchiveSession:
64-
/* push archived sessions */
65-
if err := m.sendCurrentArchivedSessions(conn, username, 1, 1); err != nil {
66-
m.errCh <- fmt.Errorf("failed to send archived sessions list on command: %w", err)
67-
}
68-
case CtxStreamUserArchivePendingTransactions:
69-
/* push archived pending transactions */
70-
if err := m.sendCurrentArchivedPendingTransactions(conn, username, 1, 1); err != nil {
71-
m.errCh <- fmt.Errorf("failed to send archived pending transactions on command: %w", err)
72-
}
7363
}
7464
}
7565
}

0 commit comments

Comments
 (0)