dongdayu 6 years ago
parent
commit
75ec325234
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/api.js

+ 1
- 1
src/api.js View File

77
       credentials: 'include'
77
       credentials: 'include'
78
     })
78
     })
79
     if (typeof api1ReqReplacer === 'function') {
79
     if (typeof api1ReqReplacer === 'function') {
80
-      api1Req = await api1ReqReplacer(api2Req)
80
+      api1Req = await api1ReqReplacer(api1Req)
81
       if (!(api1Req instanceof Request)) {
81
       if (!(api1Req instanceof Request)) {
82
         throw Error('api1ReqReplacer return value not a valid request object')
82
         throw Error('api1ReqReplacer return value not a valid request object')
83
       }
83
       }