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.
|
// 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