Skip to content

**suggestion:** Mixing axios and fetch for HTTP requests may lead to inconsistent error handling. #51

@RR-Gary-Stringham

Description

@RR-Gary-Stringham

suggestion: Mixing axios and fetch for HTTP requests may lead to inconsistent error handling.

Standardizing on a single HTTP client will improve maintainability and ensure consistent error and response handling.

  await api.put(signedUrl, file, {
    headers: {
      'Content-Type': file.type,
    },
  });

Originally posted by @sourcery-ai[bot] in #48 (comment)

Metadata

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