Skip to content
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.

[📚 Docs]: UNSPLASH_API should not be Optional  #77

Open
@yahu1031

Description

Issue

Issue with the UNSPLASH_API being optional is, as of the dio interceptors we have, on error such as 401 status code will navigate us back to onboarding screen. An we get this 401 from unsplash api with this endpoint https://api.unsplash.com/photos/?client_id=&page=1&per_page=18 where the client ID is empty.

Fix

In the readme docs Line 46

2. Define the variables BASE_API (required) and UNSPLASH_API_KEY (optional) in the `.env` file and initialize them.

Should be updated to make it mandatory (recommended) or providing some free API KEY will also solve this.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions