diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index db00019..7cdbab7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,7 +4,6 @@ stages: - deploy # define the build stage - build_stage: stage: build # use node docker image as enviroment diff --git a/pages/authors.vue b/pages/authors.vue index 7d5fc7f..87b2583 100644 --- a/pages/authors.vue +++ b/pages/authors.vue @@ -3,9 +3,7 @@ import { bp, subscriptions } from "@client/listActions"; import { IUser } from "@models/user"; - const { data: authors } = (await useApiFetch("/authors")) as { - data: Ref; - }; + const { data: authors } = await useApiFetch("/authors"); const { data: rd }: { data: any } = useAuth(); const data = rd as { user: IUser }; @@ -31,16 +29,10 @@ ({{ item.numStories }}) - + - +