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) =>
Grant.write(
tx,
{
id: "e4670762-beb7-435c-94af-055b951f97e6",
enabled: true,
clientId: "17436d83-6022-4101-bf9f-997f1550f57c",
userId: "a6a0946d-eeb4-45cd-83c6-c7920f2272eb",
secrets: [
"ZTQ2NzA3NjItYmViNy00MzVjLTk0YWYtMDU1Yjk1MWY5N2U2OjE1NTM5MjUzNDA6ZDQ5NDJjZGFhYTY1ZTg4YmQ2MWQ1MDIyZjlmN2E0ZGU="
],
codes: [],
scopes: ["**:**:**"]
},
{
recordId: "ce1a45cd-af9c-42fb-9879-aec6bc8b12a1",
createdByAuthorizationId: "f0e54748-c7bb-4724-ad8b-7dabb66aafa9",
createdAt: new Date("2019-03-06T21:07:59.814Z")