1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-05-02 16:16:41 +07:00

left panel with git logs at boris

This commit is contained in:
Fedor Katurov 2020-06-09 11:20:46 +07:00
parent 13ac60a1e6
commit cb518f0528
15 changed files with 211 additions and 44 deletions

View file

@ -1,8 +1,3 @@
import Axios from 'axios';
import { API } from '~/constants/api';
import { resultMiddleware, errorMiddleware } from '~/utils/api';
import git from '~/stats/git.json';
export const getBorisGitStats = (): Promise<any> =>
Axios.get(API.BORIS.GET_GIT_LOG)
.then(resultMiddleware)
.catch(errorMiddleware);
export const getBorisGitStats = (): Promise<any> => Promise.resolve(git);