Skip to content

Commit 6a1d5ec

Browse files
committed
fix: ignore default platform
Signed-off-by: Uroš Marolt <uros@marolt.me>
1 parent b444f81 commit 6a1d5ec

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

services/libs/common/src/member.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export async function setAttributesDefaultValues(
1818
}
1919

2020
const nonEmptyPlatform = Object.keys(attributes[attributeName]).filter((p) => {
21+
if (p === 'default') return false
2122
const value = attributes[attributeName][p]
2223
return value !== undefined && value !== null && String(value).trim().length > 0
2324
})

0 commit comments

Comments
 (0)