Skip to content

Commit 61f5e0a

Browse files
committed
remove rpc substring
1 parent 25e945a commit 61f5e0a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/common/LocalRPC.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,12 @@ const sanitizedData = (data: any) => {
7272
// startedAt: data.startedAt
7373
return JSON.parse(
7474
JSON.stringify({
75-
name: data.name?.substring(0, 30),
76-
action: data.action?.substring(0, 20),
77-
imgSrc: data.imgSrc?.substring(0, 250),
78-
title: data.title?.substring(0, 30),
79-
subtitle: data.subtitle?.substring(0, 30),
80-
link: data.link?.substring(0, 250),
75+
name: data.name,
76+
action: data.action,
77+
imgSrc: data.imgSrc,
78+
title: data.title,
79+
subtitle: data.subtitle,
80+
link: data.link,
8181
startedAt: data.startedAt,
8282
endsAt: data.endsAt,
8383
speed: data.speed,

0 commit comments

Comments
 (0)