mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 04:57:52 +00:00
make code cleaner
This commit is contained in:
@@ -283,11 +283,7 @@ export class WsChatService {
|
||||
connected: false,
|
||||
registerCallback:(params: wsCallbacksParams) => {
|
||||
|
||||
let id = params.requestId || params.key
|
||||
|
||||
if(id) {
|
||||
id = uuidv4()
|
||||
}
|
||||
let id = params.requestId || params.key || uuidv4()
|
||||
|
||||
this.wsCallbacks[id] = {
|
||||
type: params.type,
|
||||
|
||||
Reference in New Issue
Block a user