auth + companies + invoice
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import axios from "../../../config/axios";
|
||||
import danakAxios from "../../../config/axiosDanak";
|
||||
|
||||
export const getDashboard = async () => {
|
||||
const { data } = await axios.get(`/dashboards/reports`);
|
||||
export const getWorkspaces = async () => {
|
||||
const { data } = await danakAxios.get(
|
||||
`/subscriptions/workspaces/${import.meta.env.VITE_SERVICE_ID}`
|
||||
);
|
||||
return data;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user