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:
parent
13ac60a1e6
commit
cb518f0528
15 changed files with 211 additions and 44 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue