@sublay/js 7.9.1 → 7.9.2

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/index.js CHANGED
@@ -1159,7 +1159,7 @@ async function fetchComment(client, data) {
1159
1159
  `/comments/${commentId}`,
1160
1160
  { params }
1161
1161
  );
1162
- return response.data;
1162
+ return response.data.comment;
1163
1163
  }
1164
1164
 
1165
1165
  // src/modules/comments/fetchCommentByForeignId.ts
@@ -1168,7 +1168,7 @@ async function fetchCommentByForeignId(client, data) {
1168
1168
  const response = await client.projectInstance.get(path, {
1169
1169
  params: data
1170
1170
  });
1171
- return response.data;
1171
+ return response.data.comment;
1172
1172
  }
1173
1173
 
1174
1174
  // src/modules/comments/updateComment.ts
package/dist/index.mjs CHANGED
@@ -1127,7 +1127,7 @@ async function fetchComment(client, data) {
1127
1127
  `/comments/${commentId}`,
1128
1128
  { params }
1129
1129
  );
1130
- return response.data;
1130
+ return response.data.comment;
1131
1131
  }
1132
1132
 
1133
1133
  // src/modules/comments/fetchCommentByForeignId.ts
@@ -1136,7 +1136,7 @@ async function fetchCommentByForeignId(client, data) {
1136
1136
  const response = await client.projectInstance.get(path, {
1137
1137
  params: data
1138
1138
  });
1139
- return response.data;
1139
+ return response.data.comment;
1140
1140
  }
1141
1141
 
1142
1142
  // src/modules/comments/updateComment.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sublay/js",
3
- "version": "7.9.1",
3
+ "version": "7.9.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [