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