oops
This commit is contained in:
		
							parent
							
								
									e00b5f11cb
								
							
						
					
					
						commit
						65e46b5cec
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -31,7 +31,7 @@ module.exports = (server: http.Server) => {
 | 
				
			||||||
					payload = payload.body;
 | 
										payload = payload.body;
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				if (type.startsWith('api:')) {
 | 
									if (type.startsWith('api:')) {
 | 
				
			||||||
					type = payload.type.replace('api:', 'api-res:');
 | 
										type = type.replace('api:', 'api-res:');
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
				connection.send(JSON.stringify({
 | 
									connection.send(JSON.stringify({
 | 
				
			||||||
					type: type,
 | 
										type: type,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue