@@ -9,8 +9,8 @@ const nextjsDistDir = join('src', require('./src/next.config.js').distDir);
99const nextjsServer = next ( {
1010 dev : isDev ,
1111 conf : {
12- distDir : nextjsDistDir
13- }
12+ distDir : nextjsDistDir ,
13+ } ,
1414} ) ;
1515const nextjsHandle = nextjsServer . getRequestHandler ( ) ;
1616
@@ -40,7 +40,7 @@ exports.nextjsFunc = functions.https.onRequest((req, res) => {
4040 . map ( ( { 'created-at' : createdAt , active_till : activeTill , ...notification } ) => ( {
4141 ...notification ,
4242 activeTill : activeTill . toDate ( ) ,
43- 'created-at' : createdAt ? createdAt . toDate : undefined // eslint-disable-line camelcase
43+ 'created-at' : createdAt ? createdAt . toDate : undefined , // eslint-disable-line camelcase
4444 } ) ) ;
4545 res . status ( 200 ) . json ( data ) ;
4646 res . finished = true ;
@@ -75,7 +75,7 @@ exports.sendComment = functions.https.onRequest(async (request, response) => {
7575 repo : 'react-forms' ,
7676 // eslint-disable-next-line camelcase
7777 comment_id : commentId ,
78- body : message
78+ body : message ,
7979 } ) ;
8080 response . send ( `Comment ${ commentId } updated with message: ${ message } ` ) ;
8181 } else {
@@ -84,7 +84,7 @@ exports.sendComment = functions.https.onRequest(async (request, response) => {
8484 repo : 'react-forms' ,
8585 // eslint-disable-next-line camelcase
8686 issue_number : issueNumber ,
87- body : message
87+ body : message ,
8888 } ) ;
8989 response . send ( `Comment in issue ${ issueNumber } created with message: ${ message } ` ) ;
9090 }
0 commit comments