Browse Source

hotfix

pull/7/head
rozetko 2 years ago
parent
commit
8ab0a95b73
  1. 4
      src/utils.ts

4
src/utils.ts

@ -1,9 +1,5 @@
import { getApiKey } from './services/api_keys';
import * as moment from 'moment-timezone';
import * as _ from 'lodash';
export async function promisify(method: (...params: any[]) => Promise<any> | void, ...params: any[]) {
return new Promise((resolve, reject) => {
method(...params, (err, result) => {

Loading…
Cancel
Save