details
All checks were successful
Build / build (push) Successful in 50s
Build / build (pull_request) Successful in 1m34s

This commit is contained in:
Sainan 2025-04-27 22:13:50 +02:00
parent 832e79c5d5
commit 8ffd37e937

View File

@ -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,