Skip to content

Commit

Permalink
create :: history api
Browse files Browse the repository at this point in the history
  • Loading branch information
dutexion committed Aug 1, 2024
1 parent 08e2208 commit 9fbc7e0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/utils/apis/history.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { instance } from './axios';

const router = 'v2/container/history';

export const getHistory = async (deployUUID: string, env: string) => {
return await instance.get(`${router}?deployId=${deployUUID}&environment=${env}`);
};

0 comments on commit 9fbc7e0

Please sign in to comment.