chore: Move to prettier standard double quotes (#1309)

This commit is contained in:
Tom Moor
2020-06-20 13:59:15 -07:00
committed by GitHub
parent 2a3b9e2104
commit f43deb7940
444 changed files with 5988 additions and 5977 deletions

View File

@ -1,14 +1,14 @@
// @flow
import policy from './policy';
import { ApiKey, User } from '../models';
import policy from "./policy";
import { ApiKey, User } from "../models";
const { allow } = policy;
allow(User, 'create', ApiKey);
allow(User, "create", ApiKey);
allow(
User,
['read', 'update', 'delete'],
["read", "update", "delete"],
ApiKey,
(user, apiKey) => user && user.id === apiKey.userId
);