Skip to content

Commit 87a3f1d

Browse files
authored
Fix inline icons in invitation email (#857)
* 🔨 Fix inline icons * 📜 Fix markdown linter issues
1 parent 4fef5df commit 87a3f1d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

backend/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,11 +97,11 @@ When running locally and looking into code coverage further you may wish to gene
9797
```bash
9898
coverage html
9999
```
100+
100101
Then open the resulting `backend/htmlcov/index.html` file in your browser and you can click down into individual source files to see which statements were (and were not) executed during the test session.
101102

102103
Note that the code coverage report will contain the coverage generated for all the tests that were ran in your pytest session; so if you want to measure the code coverage for a subset of tests just provide the test path on the `coverage run -m pytest` command as you normally would, then generate the coverage report(s).
103104

104-
105105
## Database Migrations
106106

107107
To generate a database migration, bash into a running backend container and run:

backend/src/appointment/controller/mailer.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,8 @@ def html(self):
251251
duration=self.duration,
252252
# Image cids
253253
tbpro_logo_cid=self._attachments()[0].filename,
254-
calendar_icon_cid=self._attachments()[1].filename,
255-
clock_icon_cid=self._attachments()[2].filename,
254+
calendar_icon_cid=self._attachments()[2].filename,
255+
clock_icon_cid=self._attachments()[3].filename,
256256
)
257257

258258

0 commit comments

Comments
 (0)