Skip to content

Commit

Permalink
fix: DB backup email text
Browse files Browse the repository at this point in the history
  • Loading branch information
surmon-china committed May 16, 2022
1 parent 60b00d6 commit 090958b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nodepress",
"version": "3.10.1",
"version": "3.10.2",
"description": "RESTful API service for Surmon.me blog",
"author": {
"name": "Surmon",
Expand Down
2 changes: 1 addition & 1 deletion src/modules/expansion/expansion.service.dbbackup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class DBBackupService {
to: APP.ADMIN_EMAIL,
subject,
text: `${subject}, detail: ${content}`,
html: `${subject} <br> ${isCode ? `<pre>${isCode}</pre>` : content}`,
html: `${subject} <br> ${isCode ? `<pre>${content}</pre>` : content}`,
})
}

Expand Down

0 comments on commit 090958b

Please sign in to comment.