Skip to content

Commit 85e4a23

Browse files
committed
v2.4.3
1 parent 5cc3d18 commit 85e4a23

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ Version History
129129

130130
| Version | Description
131131
|-- |--
132+
| 2.4.3 | optimized with `lemon-core#3.2.5`, and cleanup.
132133
| 2.4.2 | optimized with `lemon-core#3.2.4`, and cleanup.
133134
| 2.4.0 | use `DynamoDB` to manage route-rules.
134135
| 2.3.2 | optimized with `lemon-core#3.1.2`, and `nodejs16` runtime.

package-lock.json

+9-9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "lemon-hello-api",
3-
"version": "2.4.2h",
3+
"version": "2.4.3",
44
"description": "Simple Serverless MicroService API with `Lambda` + `API Gateway` + `Web Socket` + `SNS` + `SQS` + `KMS`",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -66,7 +66,7 @@
6666
"plato": "plato -r -d complexity dist"
6767
},
6868
"dependencies": {
69-
"lemon-core": "^3.2.4"
69+
"lemon-core": "^3.2.5"
7070
},
7171
"devDependencies": {
7272
"@cruglobal/serverless-merge-config": "^1.1.0",

src/api/hello-api.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ export class HelloAPIController extends GeneralWEBController {
195195
_log(NS, '> endpoint@0 =', endpoint);
196196

197197
// STEP.2 prepare slack message via body.
198-
const message: SlackPostBody = typeof body !== 'string' ? body : { text: `${body}` };
198+
const message: SlackPostBody = typeof body !== 'string' ? body : { text: `${body}`, attachments: undefined };
199199
_log(NS, '> message :=', $U.json(message));
200200

201201
// STEP.3 route message.

0 commit comments

Comments
 (0)