Skip to content

Dashboard cubit hardcoded interceptor list doesn't match ApiClient chain #64

@cevheri

Description

@cevheri

Problem

In lib/features/dashboard/application/dashboard_cubit.dart:165, the interceptor list is hardcoded and doesn't match ApiClient's actual chain (e.g., Connectivity order differs, LoggingInterceptor is missing). This makes the system dashboard misleading.

Fix

Derive the list from the actual Dio instance interceptors, or at minimum keep it in sync with ApiClient.

Source

Copilot review on PR #59

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions