我有一个构建在NodeJS上的lambda函数.
export const handler = async (event) => {
return {
statusCode: 200,
body: JSON.stringify({
"response_type": 'in_channel',
"text": 'hello'
})
};
};
我在slack中得到的响应是:{"response_type":"in_channel","text":"hello"}而不是hello;
发生了什么事?我怎么才能解决这个问题呢?
我在slack中得到的响应是:{"response_type":"in_channel","text":"hello"}而不是hello;
发生了什么事?我怎么才能解决这个问题呢?