UNPKG

@appsemble/lang-sdk

Version:

Language SDK for Appsemble

9 lines 424 B
export function assignAppMemberProperties(properties, formData) { if (properties && typeof properties === 'object' && !Array.isArray(properties)) { formData.append('properties', JSON.stringify(Object.fromEntries(Object.entries(properties).map(([key, value]) => [ key, typeof value === 'string' ? value : JSON.stringify(value), ])))); } } //# sourceMappingURL=appMembers.js.map