Merge branch 'setAccountCheatController-type-check' into webui-account-cheats-payload-input-by-value-
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				Build / build (pull_request) Successful in 1m15s
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	Build / build (pull_request) Successful in 1m15s
				
			This commit is contained in:
		
							parent
							
								
									602a04d9ba
								
							
						
					
					
						commit
						cd0dc4feec
					
				@ -11,7 +11,7 @@ export const setAccountCheatController: RequestHandler = async (req, res) => {
 | 
				
			|||||||
    const inventory = await getInventory(accountId, payload.key);
 | 
					    const inventory = await getInventory(accountId, payload.key);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    if (payload.value == undefined) {
 | 
					    if (payload.value == undefined) {
 | 
				
			||||||
        logger.warn(`[setAccountCheatController] set ${payload.key} to ${payload.value}`);
 | 
					        logger.warn(`Aborting setting ${payload.key} as undefined!`);
 | 
				
			||||||
        return;
 | 
					        return;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user