File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,9 +117,9 @@ const outputFormats = {
117117async function actionPandoc ( req , res , note ) {
118118 var url = config . serverURL || 'http://' + req . get ( 'host' )
119119 var body = note . content
120- var extracted = models . Note . extractMeta ( body )
120+ var extracted = Note . extractMeta ( body )
121121 var content = extracted . markdown
122- var title = models . Note . decodeTitle ( note . title )
122+ var title = Note . decodeTitle ( note . title )
123123
124124 if ( ! fs . existsSync ( config . tmpPath ) ) {
125125 fs . mkdirSync ( config . tmpPath )
Original file line number Diff line number Diff line change 108108 "mysql" : " ~2.17.1" ,
109109 "mysql2" : " ^2.0.1" ,
110110 "passport" : " ~0.4.0" ,
111+ "passport-bitbucket-oauth2" : " ~0.1.2" ,
111112 "passport-dropbox-oauth2" : " ~1.1.0" ,
112113 "passport-facebook" : " ~2.1.1" ,
113114 "passport-github" : " ~1.1.0" ,
114- "passport-bitbucket-oauth2" : " ~0.1.2" ,
115115 "passport-gitlab2" : " ~4.0.0" ,
116116 "passport-google-oauth20" : " ~1.0.0" ,
117117 "passport-ldapauth" : " ~2.1.3" ,
You can’t perform that action at this time.
0 commit comments