@crowdin/app-project-module 0.20.9 → 0.20.10
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.
|
@@ -135,7 +135,13 @@ function handle(baseConfig, baseUrl, folder, config) {
|
|
|
135
135
|
return (0, util_1.runAsyncWrapper)((req, res) => __awaiter(this, void 0, void 0, function* () {
|
|
136
136
|
const baseFilesUrl = `${baseUrl}/file/download`;
|
|
137
137
|
const body = req.body;
|
|
138
|
-
|
|
138
|
+
let logData;
|
|
139
|
+
if (body.strings) {
|
|
140
|
+
logData = Object.assign({}, body, { strings: body.strings.slice(0, 5) });
|
|
141
|
+
}
|
|
142
|
+
else {
|
|
143
|
+
logData = body;
|
|
144
|
+
}
|
|
139
145
|
(0, util_1.log)(`Received request to process file ${JSON.stringify(logData, null, 2)}`, baseConfig.logger);
|
|
140
146
|
let file;
|
|
141
147
|
if (body.file.content) {
|
package/package.json
CHANGED