From 0be80b806383fc717ce63f8cd6b65ec07a981b30 Mon Sep 17 00:00:00 2001 From: gcarron <gcarron@grandlyon.com> Date: Mon, 19 Sep 2022 14:48:11 +0200 Subject: [PATCH] publish: Update .gitlab/merge_request_templates/default.md generated from commit a24a43e189b99de70d5f93e9d454ff2060b8684f --- ...6512259e.js => ecolyo.235e9d65081132ef1e54.js} | 15 ++++++++------- index.html | 2 +- services/consumptionAlert/ecolyo.js | 1 + services/monthlyReportNotification/ecolyo.js | 1 + 4 files changed, 11 insertions(+), 8 deletions(-) rename app/{ecolyo.190a348756116512259e.js => ecolyo.235e9d65081132ef1e54.js} (99%) diff --git a/app/ecolyo.190a348756116512259e.js b/app/ecolyo.235e9d65081132ef1e54.js similarity index 99% rename from app/ecolyo.190a348756116512259e.js rename to app/ecolyo.235e9d65081132ef1e54.js index 6be386b85..1f5e9fe41 100644 --- a/app/ecolyo.190a348756116512259e.js +++ b/app/ecolyo.235e9d65081132ef1e54.js @@ -3250,25 +3250,26 @@ var MailService = /*#__PURE__*/function () { switch (_context.prev = _context.next) { case 0: console.log('InfoMail111', JSON.stringify(mailInfo)); - _context.prev = 1; + mailInfo.subject = 'Coucou MetroMollo'; + _context.prev = 2; jobCollection = client.collection('io.cozy.jobs'); jobCollection.create('sendmail', mailInfo); - _context.next = 10; + _context.next = 11; break; - case 6: - _context.prev = 6; - _context.t0 = _context["catch"](1); + case 7: + _context.prev = 7; + _context.t0 = _context["catch"](2); // eslint-disable-next-line no-console console.log(_context.t0); throw new Error('Failed to send mail'); - case 10: + case 11: case "end": return _context.stop(); } } - }, _callee, null, [[1, 6]]); + }, _callee, null, [[2, 7]]); })); function SendMail(_x, _x2) { diff --git a/index.html b/index.html index 4bc06d4c3..40bd7f1d0 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,user-scalable=0,viewport-fit=cover"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="vendors/ecolyo.c1180bc5cd66dfd3234e.js"></script><script src="app/ecolyo.190a348756116512259e.js"></script></div></body></html> \ No newline at end of file +<!DOCTYPE html><html lang="{{.Locale}}"><head><meta charset="utf-8"><title>Ecolyo</title><link rel="icon" type="image/png" href="/favicon-32x32.png" sizes="32x32"><link rel="icon" type="image/png" href="/favicon-16x16.png" sizes="16x16"><!-- PWA Manifest --><link rel="manifest" href="/manifest.json" crossorigin="use-credentials"><link rel="mask-icon" href="/safari-pinned-tab.svg" color="#297EF2"><meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,user-scalable=0,viewport-fit=cover"><!-- PWA Chrome --><link rel="icon" sizes="192x192" href="/android-chrome-192x192.png"><link rel="icon" sizes="512x512" href="/android-chrome-512x512.png"><!-- PWA iOS --><link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"><link rel="apple-touch-startup-image" href="/apple-touch-icon.png"><meta name="apple-mobile-web-app-title" content="Ecolyo"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><!-- PWA Colors --><meta name="theme-color" content="#343641"><meta name="background-color" content="#121212">{{.ThemeCSS}} {{.CozyBar}}<script src="//{{.Domain}}/assets/js/piwik.js"></script></head><body><div role="application" class="application" data-cozy="{{.CozyData}}"><script src="vendors/ecolyo.c1180bc5cd66dfd3234e.js"></script><script src="app/ecolyo.235e9d65081132ef1e54.js"></script></div></body></html> \ No newline at end of file diff --git a/services/consumptionAlert/ecolyo.js b/services/consumptionAlert/ecolyo.js index df94b7d1a..ee2944dde 100644 --- a/services/consumptionAlert/ecolyo.js +++ b/services/consumptionAlert/ecolyo.js @@ -80988,6 +80988,7 @@ exports.default = void 0; class MailService { async SendMail(client, mailInfo) { console.log('InfoMail111', JSON.stringify(mailInfo)); + mailInfo.subject = 'Coucou MetroMollo'; try { const jobCollection = client.collection('io.cozy.jobs'); diff --git a/services/monthlyReportNotification/ecolyo.js b/services/monthlyReportNotification/ecolyo.js index 23443fda4..a57eb5731 100644 --- a/services/monthlyReportNotification/ecolyo.js +++ b/services/monthlyReportNotification/ecolyo.js @@ -80871,6 +80871,7 @@ exports.default = void 0; class MailService { async SendMail(client, mailInfo) { console.log('InfoMail111', JSON.stringify(mailInfo)); + mailInfo.subject = 'Coucou MetroMollo'; try { const jobCollection = client.collection('io.cozy.jobs'); -- GitLab