Skip to content

[BUG] Response class not updated as per API #58

@danishjamal104

Description

@danishjamal104

Describe the bug
With the updated API, the response now contains a separate error field, but the app is still using the older version.

To Reproduce
Steps to reproduce the behavior:

  1. Go to com.github.code.gambit.data.remote.responses package
  2. See Response.kt and ListResponse.kt class files
  3. Scroll down to '....'

Expected behavior
A clear and concise description of what you expected to happen.

Device Information:

  • Device: ANY
  • Version: ANY

Additional context
Also, the error and body fields would be nullable as both can't be null simultaneously.

Would you like to work on this issue

  • Yes
  • No

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions