File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -117,9 +117,9 @@ const outputFormats = {
117
117
async function actionPandoc ( req , res , note ) {
118
118
var url = config . serverURL || 'http://' + req . get ( 'host' )
119
119
var body = note . content
120
- var extracted = models . Note . extractMeta ( body )
120
+ var extracted = Note . extractMeta ( body )
121
121
var content = extracted . markdown
122
- var title = models . Note . decodeTitle ( note . title )
122
+ var title = Note . decodeTitle ( note . title )
123
123
124
124
if ( ! fs . existsSync ( config . tmpPath ) ) {
125
125
fs . mkdirSync ( config . tmpPath )
Original file line number Diff line number Diff line change 108
108
"mysql" : " ~2.17.1" ,
109
109
"mysql2" : " ^2.0.1" ,
110
110
"passport" : " ~0.4.0" ,
111
+ "passport-bitbucket-oauth2" : " ~0.1.2" ,
111
112
"passport-dropbox-oauth2" : " ~1.1.0" ,
112
113
"passport-facebook" : " ~2.1.1" ,
113
114
"passport-github" : " ~1.1.0" ,
114
- "passport-bitbucket-oauth2" : " ~0.1.2" ,
115
115
"passport-gitlab2" : " ~4.0.0" ,
116
116
"passport-google-oauth20" : " ~1.0.0" ,
117
117
"passport-ldapauth" : " ~2.1.3" ,
You can’t perform that action at this time.
0 commit comments