Commit af67d1d
authored
fix: ลืม decode ก่อนส่งชื่อ 😅 (#62)
This pull request introduces improvements to both the documentation and
the ticket email notification logic. The documentation now embeds an
interactive database diagram, and the ticket service ensures that
student nicknames in emails are properly decoded.
Documentation update:
* The `README.md` file now embeds the database diagram using an
interactive `iframe` from dbdiagram.io, replacing the static image for a
more dynamic and informative experience.
Ticket email improvements:
* In `ticket.service.ts`, student nicknames included in ticket creation
and ticket solved email notifications are now decoded using `decodeURI`,
ensuring that any encoded characters (such as spaces or special
characters) are displayed correctly in outgoing emails.
[[1]](diffhunk://#diff-889902f754836187f4f7a34a025383b5e8e8e8a6b80099f61e9179377bd1af44L43-R43)
[[2]](diffhunk://#diff-889902f754836187f4f7a34a025383b5e8e8e8a6b80099f61e9179377bd1af44L98-R104)2 files changed
Lines changed: 9 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
99 | 105 | | |
100 | 106 | | |
101 | 107 | | |
| |||
0 commit comments