details
This commit is contained in:
		
							parent
							
								
									832e79c5d5
								
							
						
					
					
						commit
						8ffd37e937
					
				@ -175,8 +175,8 @@ const convertNemesis = (client: INemesisClient): INemesisDatabase => {
 | 
				
			|||||||
    };
 | 
					    };
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// Empty objects from live may have been encoded as an empty array because of PHP.
 | 
					// Empty objects from live may have been encoded as empty arrays because of PHP.
 | 
				
			||||||
export const convertItemConfig = <T extends IItemConfig>(client: T): T => {
 | 
					const convertItemConfig = <T extends IItemConfig>(client: T): T => {
 | 
				
			||||||
    return {
 | 
					    return {
 | 
				
			||||||
        ...client,
 | 
					        ...client,
 | 
				
			||||||
        pricol: Array.isArray(client.pricol) ? {} : client.pricol,
 | 
					        pricol: Array.isArray(client.pricol) ? {} : client.pricol,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user