Skip to content

refactor: replace request-promise with axios for HTTP requests#18

Open
enginberkay wants to merge 1 commit intorixcian:masterfrom
enginberkay:replace-request-with-axios
Open

refactor: replace request-promise with axios for HTTP requests#18
enginberkay wants to merge 1 commit intorixcian:masterfrom
enginberkay:replace-request-with-axios

Conversation

@enginberkay
Copy link

@enginberkay enginberkay commented Mar 16, 2026

  • Removed the dependency on request-promise and replaced it with axios in multiple files.
  • Updated the request handling in src/core/fcm/index.ts, src/core/gcm/index.ts, and src/core/utils/request.ts to use axios for making HTTP requests.
  • Adjusted the response handling to accommodate axios's response structure.

The PR is solving this issue
@rixcian @jinpill , can you review the changes?

- Removed the dependency on request-promise and replaced it with axios in multiple files.
- Updated the request handling in src/core/fcm/index.ts, src/core/gcm/index.ts, and src/core/utils/request.ts to use axios for making HTTP requests.
- Adjusted the response handling to accommodate axios's response structure.
@rixcian
Copy link
Owner

rixcian commented Mar 24, 2026

Hi, thanks for the contribution. I will look at it during this week.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants