Skip to content

Commit c1c55f7

Browse files
authored
Update trustpilot.app.ts
1 parent 5e68182 commit c1c55f7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

components/trustpilot/app/trustpilot.app.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,6 @@ export default defineApp({
411411
if (sanitizedMessage.length === 0) {
412412
throw new Error("Reply message cannot be empty after sanitization");
413413
}
414-
if (message.length > 5000) {
415-
console.warn("Reply message was truncated to 5000 characters");
416-
}
417414

418415
const endpoint = buildUrl(ENDPOINTS.REPLY_TO_SERVICE_REVIEW, {
419416
businessUnitId,
@@ -469,8 +466,6 @@ export default defineApp({
469466
if (sanitizedMessage.length === 0) {
470467
throw new Error("Reply message cannot be empty after sanitization");
471468
}
472-
if (message.length > 5000) {
473-
}
474469

475470
const endpoint = buildUrl(ENDPOINTS.REPLY_TO_PRODUCT_REVIEW, {
476471
reviewId,
@@ -547,8 +542,6 @@ export default defineApp({
547542
if (sanitizedMessage.length === 0) {
548543
throw new Error("Reply message cannot be empty after sanitization");
549544
}
550-
if (message.length > 5000) {
551-
}
552545

553546
const endpoint = buildUrl(ENDPOINTS.REPLY_TO_CONVERSATION, {
554547
conversationId,

0 commit comments

Comments
 (0)