File tree 2 files changed +1
-3
lines changed
2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 15
15
"express" : " 4.19.2" ,
16
16
"geckodriver" : " 2.0.4" ,
17
17
"mocha" : " 9.2.2" ,
18
- "undici" : " 6.19.7" ,
19
18
"selenium-assistant" : " 6.1.1"
20
19
},
21
20
"engines" : {
Original file line number Diff line number Diff line change 15
15
* limitations under the License.
16
16
*/
17
17
18
- const undici = require ( 'undici' ) ;
19
18
const FCM_SEND_ENDPOINT = 'https://fcm.googleapis.com/fcm/send' ;
20
19
// Rotatable fcm server key. It's generally a bad idea to expose server keys. The reason is to
21
20
// simplify testing process (no need to implement server side decryption of git secret). The
@@ -28,7 +27,7 @@ module.exports = async payload => {
28
27
'Requesting to send an FCM message with payload: ' + JSON . stringify ( payload )
29
28
) ;
30
29
31
- const response = await undici . fetch ( FCM_SEND_ENDPOINT , {
30
+ const response = await fetch ( FCM_SEND_ENDPOINT , {
32
31
method : 'POST' ,
33
32
body : JSON . stringify ( payload ) ,
34
33
headers : {
You can’t perform that action at this time.
0 commit comments