@@ -9,8 +9,8 @@ const nextjsDistDir = join('src', require('./src/next.config.js').distDir);
9
9
const nextjsServer = next ( {
10
10
dev : isDev ,
11
11
conf : {
12
- distDir : nextjsDistDir
13
- }
12
+ distDir : nextjsDistDir ,
13
+ } ,
14
14
} ) ;
15
15
const nextjsHandle = nextjsServer . getRequestHandler ( ) ;
16
16
@@ -40,7 +40,7 @@ exports.nextjsFunc = functions.https.onRequest((req, res) => {
40
40
. map ( ( { 'created-at' : createdAt , active_till : activeTill , ...notification } ) => ( {
41
41
...notification ,
42
42
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
44
44
} ) ) ;
45
45
res . status ( 200 ) . json ( data ) ;
46
46
res . finished = true ;
@@ -75,7 +75,7 @@ exports.sendComment = functions.https.onRequest(async (request, response) => {
75
75
repo : 'react-forms' ,
76
76
// eslint-disable-next-line camelcase
77
77
comment_id : commentId ,
78
- body : message
78
+ body : message ,
79
79
} ) ;
80
80
response . send ( `Comment ${ commentId } updated with message: ${ message } ` ) ;
81
81
} else {
@@ -84,7 +84,7 @@ exports.sendComment = functions.https.onRequest(async (request, response) => {
84
84
repo : 'react-forms' ,
85
85
// eslint-disable-next-line camelcase
86
86
issue_number : issueNumber ,
87
- body : message
87
+ body : message ,
88
88
} ) ;
89
89
response . send ( `Comment in issue ${ issueNumber } created with message: ${ message } ` ) ;
90
90
}
0 commit comments