diff --git a/nuxt-frontend/pages/author/[slug].vue b/nuxt-frontend/pages/author/[slug].vue index 6e5de1116..71b1f72b5 100644 --- a/nuxt-frontend/pages/author/[slug].vue +++ b/nuxt-frontend/pages/author/[slug].vue @@ -60,7 +60,7 @@ const status = computed(() => store.status); let postLimit = 10; await useAsyncData("authors", () => - store.loadAuthorBlogs(config.SHOW_DRAFT_POSTS, slug.value, 0, postLimit), + store.loadAuthorBlogs(config.SHOW_DRAFT_POSTS, slug.value), ); if (status.value === config.SUCCESS) { diff --git a/nuxt-frontend/pages/tag/[slug].vue b/nuxt-frontend/pages/tag/[slug].vue index 61f53b764..98c8b8a23 100644 --- a/nuxt-frontend/pages/tag/[slug].vue +++ b/nuxt-frontend/pages/tag/[slug].vue @@ -51,7 +51,7 @@ const resources = computed(() => store.items); const status = computed(() => store.status); let postLimit = 2; -await useAsyncData("tags", () => store.loadTagBlogs(slug.value, 0, postLimit)); +await useAsyncData("tags", () => store.loadTagBlogs(slug.value)); if (status.value === config.SUCCESS) { posts.value = resources.value?.slice(0, postLimit);