fix: axios default imports
This commit is contained in:
@@ -1,7 +1,4 @@
|
|||||||
import { AxiosResponse } from "axios";
|
import { default as axios, AxiosResponse } from "axios";
|
||||||
|
|
||||||
const axios = require('axios').default;
|
|
||||||
|
|
||||||
|
|
||||||
export const startRecording = async() : Promise<string> => {
|
export const startRecording = async() : Promise<string> => {
|
||||||
try {
|
try {
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import { WhereWhatPair, WorkflowFile } from "maxun-core";
|
import { WhereWhatPair, WorkflowFile } from "maxun-core";
|
||||||
import { emptyWorkflow } from "../shared/constants";
|
import { emptyWorkflow } from "../shared/constants";
|
||||||
|
import { default as axios, AxiosResponse } from "axios";
|
||||||
const axios = require('axios').default;
|
|
||||||
|
|
||||||
export const getActiveWorkflow = async(id: string) : Promise<WorkflowFile> => {
|
export const getActiveWorkflow = async(id: string) : Promise<WorkflowFile> => {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user