Skip to content

Mod.io API change and MINT breaking as a result #314

Description

@Wasserkleber

When trying to install a new mod the following error message shows up:
"403 Forbidden: You must possess administrator privileges to apply the (visible-in) filter."

This issue is caused by recent changes to the mod.io API.

To fix it:
in src\providers\modio.rs
replace:
use modio::filter::{Eq, In};
use modio::mods::filters::{NameId, Visible};
with:
use modio::filter::Eq;
use modio::mods::filters::NameId;

replace:
let filter = NameId::eq(name_id).and(Visible::_in(vec![0, 1]));
with:
let filter = NameId::eq(name_id);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions