@satorijs/adapter-lark 3.9.2 → 3.9.3
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/lib/index.cjs +1 -1
- package/package.json +1 -1
- package/src/utils.ts +1 -1
package/lib/index.cjs
CHANGED
|
@@ -159,7 +159,7 @@ async function adaptSession(bot, body) {
|
|
|
159
159
|
content += ` --${key} ${toArg(value)}`;
|
|
160
160
|
}
|
|
161
161
|
if (body.event.action.input_value) {
|
|
162
|
-
content += ` ${body.event.action.input_value}`;
|
|
162
|
+
content += ` ${toArg(body.event.action.input_value)}`;
|
|
163
163
|
}
|
|
164
164
|
session.content = content;
|
|
165
165
|
session.messageId = body.event.context.open_message_id;
|
package/package.json
CHANGED
package/src/utils.ts
CHANGED
|
@@ -274,7 +274,7 @@ export async function adaptSession<C extends Context>(bot: LarkBot<C>, body: Eve
|
|
|
274
274
|
content += ` --${key} ${toArg(value)}`
|
|
275
275
|
}
|
|
276
276
|
if (body.event.action.input_value) {
|
|
277
|
-
content += ` ${body.event.action.input_value}`
|
|
277
|
+
content += ` ${toArg(body.event.action.input_value)}`
|
|
278
278
|
}
|
|
279
279
|
session.content = content
|
|
280
280
|
session.messageId = body.event.context.open_message_id
|