2
0

fix(editor): 🔒️ Enforce credentials security

This commit is contained in:
Baptiste Arnaud
2022-04-14 15:45:52 -07:00
parent 18319c88c8
commit ed680969f9
2 changed files with 3 additions and 5 deletions

View File

@ -18,8 +18,6 @@ const handler = async (req: NextApiRequest, res: NextApiResponse) => {
return res.status(404).send("Couldn't find credentials in database")
const response = await drive({
version: 'v3',
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
auth: auth,
}).files.list({
q: "mimeType='application/vnd.google-apps.spreadsheet'",