public
/
jst_server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c90ebd8
)
Fix a bug in emailing
author
Nick Downing
<downing.nick@gmail.com>
Sun, 21 Oct 2018 23:55:30 +0000
(10:55 +1100)
committer
Nick Downing
<downing.nick@gmail.com>
Sun, 21 Oct 2018 23:55:30 +0000
(10:55 +1100)
Server.js
patch
|
blob
|
history
diff --git
a/Server.js
b/Server.js
index
27cb06d
..
67f6335
100644
(file)
--- a/
Server.js
+++ b/
Server.js
@@
-54,7
+54,7
@@
Server.prototype.get_email = function(path) {
async result => {
let text = await fs_readFile(path, {encoding: 'utf-8'})
console.log('getting', path, 'as email')
- result.value = emailjs.
this
.connect(JSON.parse(text))
+ result.value = emailjs.
server
.connect(JSON.parse(text))
}
)
}