@snail-js/api 0.1.23 → 0.1.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/snail-api.js +1 -1
- package/dist/snail-api.umd.cjs +1 -1
- package/package.json +1 -1
package/dist/snail-api.js
CHANGED
|
@@ -4120,7 +4120,7 @@ class SnailMethod {
|
|
|
4120
4120
|
"response"
|
|
4121
4121
|
);
|
|
4122
4122
|
if (!isNoCache) {
|
|
4123
|
-
!isSpecial && await this.setCacheData(serverName, response);
|
|
4123
|
+
!isSpecial && await this.setCacheData(serverName, response.data);
|
|
4124
4124
|
}
|
|
4125
4125
|
this.Response = response;
|
|
4126
4126
|
this.applyHitSource(serverName);
|
package/dist/snail-api.umd.cjs
CHANGED
|
@@ -4124,7 +4124,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
|
|
|
4124
4124
|
"response"
|
|
4125
4125
|
);
|
|
4126
4126
|
if (!isNoCache) {
|
|
4127
|
-
!isSpecial && await this.setCacheData(serverName, response);
|
|
4127
|
+
!isSpecial && await this.setCacheData(serverName, response.data);
|
|
4128
4128
|
}
|
|
4129
4129
|
this.Response = response;
|
|
4130
4130
|
this.applyHitSource(serverName);
|