Merge branch 'setAccountCheatController-type-check' into webui-account-cheats-payload-input-by-value-
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);
 | 
			
		||||
 | 
			
		||||
    if (payload.value == undefined) {
 | 
			
		||||
        logger.warn(`[setAccountCheatController] set ${payload.key} to ${payload.value}`);
 | 
			
		||||
        logger.warn(`Aborting setting ${payload.key} as undefined!`);
 | 
			
		||||
        return;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user