itube-specs 0.0.328 → 0.0.330
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -4,7 +4,7 @@ import type { IPlaylistData } from '../types';
|
|
|
4
4
|
|
|
5
5
|
export const useFetchPlaylistsById = async (apiMethod: (...args: any[]) => Promise<IPlaylistData>) => {
|
|
6
6
|
const route = useRoute();
|
|
7
|
-
const id = computed(() => String(route.params['
|
|
7
|
+
const id = computed(() => String(route.params['playlistId']));
|
|
8
8
|
const key = EAsyncData.PlaylistById;
|
|
9
9
|
const stateKey = computed(() => `data-${key}-${id.value}`);
|
|
10
10
|
|
|
@@ -8,7 +8,7 @@ export const useFetchPlaylistsGetVideosById = (
|
|
|
8
8
|
) => {
|
|
9
9
|
const PER_PAGE = 48;
|
|
10
10
|
const route = useRoute();
|
|
11
|
-
const id = computed(() => String(route.params[ '
|
|
11
|
+
const id = computed(() => String(route.params[ 'playlistId' ]));
|
|
12
12
|
const key = EAsyncData.GetPlaylistsVideo;
|
|
13
13
|
const stateKey = computed(() => `data-${key}-${id.value}`);
|
|
14
14
|
|