From 7a8d64833de8873afb92982b3f5bfff59b30c542 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 2 Sep 2022 11:02:06 -0700 Subject: es6 migration --- lib/account.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/account.js') diff --git a/lib/account.js b/lib/account.js index ac09a8e8..c4cda1a4 100644 --- a/lib/account.js +++ b/lib/account.js @@ -1,6 +1,6 @@ -const axios = require("axios"); +import axios from 'axios'; -module.exports = async (asset, user, transaction) => { +export default async (asset, user, transaction) => { const account = await db.Account.findOne({ where: { user_id: user.id, -- cgit v1.2.3