From 4bbf220296765a20c3ba03c5351b21618a835424 Mon Sep 17 00:00:00 2001
From: HampusM <hampus@hampusmat.com>
Date: Sun, 25 Jul 2021 22:34:22 +0200
Subject: Reformated the client code a bit

---
 packages/client/src/views/RepositoryLog.vue | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'packages/client/src/views/RepositoryLog.vue')

diff --git a/packages/client/src/views/RepositoryLog.vue b/packages/client/src/views/RepositoryLog.vue
index c5ce241..83184fa 100644
--- a/packages/client/src/views/RepositoryLog.vue
+++ b/packages/client/src/views/RepositoryLog.vue
@@ -74,8 +74,8 @@ export default defineComponent({
 		const is_loading: Ref<boolean> = ref(true);
 		const fetch_failed: Ref<string> = ref("");
 
-		const fetchLog = async(repository: string) => {
-			const log_data: LogCommit[] = await fetchData(`repos/${repository}/log`, fetch_failed, is_loading, "log");
+		async function fetchLog(repository: string) {
+			const log_data = await fetchData(`repos/${repository}/log`, fetch_failed, is_loading, "log") as LogCommit[];
 			if(log_data) {
 				commits.value = log_data;
 			}
@@ -147,4 +147,4 @@ table {
 	}
 }
 
-</style>
+</style>
\ No newline at end of file
-- 
cgit v1.2.3-18-g5258

