organization plugin client is formatting the metadata json with escape
console.log("....data....", data);
await authOrganizationClient.update({
data: {
name: data.name,
slug: data.slug,
metadata: data.metadata ?? undefined,
},
organizationId: data.id,
});
data get logged with metadata correctly but in the DB it stores it like this
"{\"businessAddress\":\"14 xxx Drive\"}"
0 Replies