chore: snapshot current working tree changes

Save all currently accumulated repository changes as a backup snapshot for Gitea so no local work is lost.
This commit is contained in:
Fedor
2026-03-26 14:19:01 +03:00
parent aec27abeb0
commit 01c4fe80b5
1557 changed files with 2090933 additions and 20934 deletions

View File

@@ -0,0 +1,27 @@
// Code23 — помещаем в n8n-nodes-base.code (JS), Mode = Run Once for All Items
// Берём все входные элементы
const items = $input.all();
// Предполагаем, что нас интересует первый элемент массива
const data = items[0].json;
// Всегда возвращаем сообщение об ошибке
const answerText = 'Извините, произошла ошибка, мы уже работаем над ее устранением, попробуйте задать ваш вопрос еще раз через некоторое время';
// Собираем единый объект для следующего узла
return [
{
json: {
...data,
respound: {
type: 'text',
text: answerText,
replyMarkup: {
remove_keyboard: true
}
}
}
}
];