|
|
@@ -31,6 +31,7 @@ type Props = {
|
|
|
const UsersListScreen: FC<Props> = ({ navigation, route }) => {
|
|
|
const id = route.params?.id;
|
|
|
const type = route.params?.type;
|
|
|
+ const token = storage.get('token', StoreType.STRING) as string;
|
|
|
const { mutateAsync: getUsersFromRegion } = useGetUsersFromRegionMutation();
|
|
|
const { mutateAsync: getUsersWhoVisitedRegion } = useGetUsersWhoVisitetRegionMutation();
|
|
|
const { mutateAsync: getUsersWhoVisitedDare } = useGetUsersWhoVisitedDareMutation();
|
|
|
@@ -151,6 +152,7 @@ const UsersListScreen: FC<Props> = ({ navigation, route }) => {
|
|
|
} else if (type === 'series') {
|
|
|
await getUsersWhoTickedSeries(
|
|
|
{
|
|
|
+ token,
|
|
|
id,
|
|
|
page,
|
|
|
sort: filter.ranking,
|
|
|
@@ -286,6 +288,7 @@ const UsersListScreen: FC<Props> = ({ navigation, route }) => {
|
|
|
} else if (type === 'series') {
|
|
|
await getUsersWhoTickedSeries(
|
|
|
{
|
|
|
+ token,
|
|
|
id,
|
|
|
page,
|
|
|
sort: filter.ranking,
|