diff --git a/src/api/api.history.ts b/src/api/api.history.ts
index c6f78c9..afca0e4 100644
--- a/src/api/api.history.ts
+++ b/src/api/api.history.ts
@@ -1,6 +1,6 @@
-import env from "./index";
-const history = `${env.API_URI}/leave/check-in/history`;
+import env from './index'
+const history = `${env.API_URI}/leave/check-in/history`
export default {
- history
-};
+ history: () => `${history}`,
+}
diff --git a/src/components/TableHistory.vue b/src/components/TableHistory.vue
index a2e36d1..219b381 100644
--- a/src/components/TableHistory.vue
+++ b/src/components/TableHistory.vue
@@ -1,6 +1,6 @@