@simitgroup/simpleapp-generator 1.6.6-w-alpha → 1.6.6-x-alpha
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/package.json
CHANGED
|
@@ -134,7 +134,7 @@ export class RunWebhookService {
|
|
|
134
134
|
this.logger.warn(msg);
|
|
135
135
|
}
|
|
136
136
|
const logbody = options.body;
|
|
137
|
-
let body = JSON.stringify(logbody,
|
|
137
|
+
let body = typeof logbody == 'string' ? logbody : JSON.stringify(logbody,null,4);
|
|
138
138
|
|
|
139
139
|
const whlog: Webhooklog = {
|
|
140
140
|
_id: crypto.randomUUID(),
|
|
@@ -149,7 +149,7 @@ export class RunWebhookService {
|
|
|
149
149
|
actionName: actionName,
|
|
150
150
|
status: status,
|
|
151
151
|
statusCode: statusCode,
|
|
152
|
-
body:
|
|
152
|
+
body: body,
|
|
153
153
|
msg: msg,
|
|
154
154
|
};
|
|
155
155
|
|