fix: import failing for LotusCustomization from live #1891
@ -175,8 +175,8 @@ const convertNemesis = (client: INemesisClient): INemesisDatabase => {
 | 
			
		||||
    };
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
// Empty objects from live may have been encoded as an empty array because of PHP.
 | 
			
		||||
export const convertItemConfig = <T extends IItemConfig>(client: T): T => {
 | 
			
		||||
// Empty objects from live may have been encoded as empty arrays because of PHP.
 | 
			
		||||
const convertItemConfig = <T extends IItemConfig>(client: T): T => {
 | 
			
		||||
    return {
 | 
			
		||||
        ...client,
 | 
			
		||||
        pricol: Array.isArray(client.pricol) ? {} : client.pricol,
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user