better readable code
This commit is contained in:
		
							parent
							
								
									9f064d76d9
								
							
						
					
					
						commit
						96d961ee80
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -37,7 +37,7 @@ export default (params: any, me: ILocalUser) => new Promise(async (res, rej) =>
 | 
				
			||||||
				followRedirect: true,
 | 
									followRedirect: true,
 | 
				
			||||||
				followAllRedirects: true
 | 
									followAllRedirects: true
 | 
				
			||||||
			},
 | 
								},
 | 
				
			||||||
			function (error: any, response: any, body: any) {
 | 
								(error: any, response: any, body: any) => {
 | 
				
			||||||
				if (!error && response.statusCode == 200) {
 | 
									if (!error && response.statusCode == 200) {
 | 
				
			||||||
					res(body)
 | 
										res(body)
 | 
				
			||||||
				} else {
 | 
									} else {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue