Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
insert: (tx: PoolClient) =>
EmailCredential.write(
tx,
{
id: "540128ad-7a55-423e-a85c-103677df333c",
enabled: true,
authorityId: "0d765613-e813-40e5-9aa7-89f96531364e",
authorityUserId: "michael.scott@dundermifflin.com",
userId: "a6a0946d-eeb4-45cd-83c6-c7920f2272eb",
details: {
proof: null
}
},
{
recordId: "43f7df35-4c00-4baf-b175-1914869897d5",
createdByAuthorizationId: "f0e54748-c7bb-4724-ad8b-7dabb66aafa9",
createdAt: new Date("2019-03-06T21:07:59.814Z")
}