Skip to content

API Client Configuration Duplicated #161

@RUKAYAT-CODER

Description

@RUKAYAT-CODER

Description

Overview
Two places create axios clients causing inconsistency.

Background
src/services/api/axios.config.ts creates client but token refresh also imports axios directly (line 84).

Specifications

  • Use single axios instance everywhere
  • Remove duplicate client creation

Tasks:

  • Use apiClient everywhere
  • Remove direct axios imports

Impacted Files:

  • src/services/api/axios.config.ts

Labels: api, priority-medium

🙌Contribution Guidelines:
Assignment required before PR submission
Timeframe: 48-72 hours
PR description must include: Close #80
Star the repo⭐
For more context, please refer to the mobile README

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions