fix(dsproof): Fixing bug with axios instantiation

This commit is contained in:
Chris Troutner
2025-12-21 15:53:46 -07:00
parent 85405d8e70
commit ec046d3ef7
+2 -1
View File
@@ -6,7 +6,8 @@ class DSProof {
constructor (config) {
this.restURL = config.restURL
this.authToken = config.authToken
this.axios = axios
// Use the shared axios instance if provided, otherwise fall back to axios
this.axios = config.axios || axios
this.axiosOptions = {
headers: {