Skip to content

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

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

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

Conversation

@enginberkay
Copy link

  • Removed the dependency on request-promise and replaced it with axios in multiple files.
  • Updated the request handling in fcm/index.ts, gcm/index.ts, and utils/request.ts to use axios for making HTTP requests.
  • Adjusted the response handling to accommodate axios's response structure.
  • Cleaned up the code by removing unused request-promise imports and related code.

- Removed the dependency on request-promise and replaced it with axios in multiple files.
- Updated the request handling in fcm/index.ts, gcm/index.ts, and utils/request.ts to use axios for making HTTP requests.
- Adjusted the response handling to accommodate axios's response structure.
- Cleaned up the code by removing unused request-promise imports and related code.
@enginberkay enginberkay force-pushed the replace-request-with-axios branch from db0106b to e9f0d7d Compare March 16, 2026 14:46
@enginberkay enginberkay deleted the replace-request-with-axios branch March 16, 2026 14:47
@enginberkay enginberkay restored the replace-request-with-axios branch March 16, 2026 14:48
@enginberkay enginberkay deleted the replace-request-with-axios branch March 16, 2026 14:49
@enginberkay enginberkay restored the replace-request-with-axios branch March 16, 2026 15:35
@enginberkay enginberkay deleted the replace-request-with-axios branch March 16, 2026 15:35
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