Skip to content

[BUG] Base URL is always fixed. It should change if we are logging in to wikiEducation Dashboard or outreach programs dashboard.  #274

@ujjwalagrawal17

Description

@ujjwalagrawal17

Summary:

After Integration of Koin, the static baseUrl is changing but it seems like we are calling only outreach server APIs even if we login using wiki education dashboard.

Ideally, we should hit the APIs of the corresponding server to whom we logged in.

If we login using wiki education dashboard, all details including the courses, campaigns, stats displayed are wrong as they are of outreach dashboard server. Also, my dashboard API is failing in that case.

To fix the issue, we need to use Scope API in koin 2.0 while logging in to modify baseUrl.

Links:

Steps to reproduce:

Login Using Wiki Education Dashboard Page.

Would you like to work on the issue?
If no one picks it up, I will work on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions