Make token param required
This commit is contained in:
parent
ada6e468e5
commit
863986188b
@ -274,7 +274,7 @@ export async function sendPushNotification(
|
|||||||
env: Env,
|
env: Env,
|
||||||
title: string,
|
title: string,
|
||||||
body: string,
|
body: string,
|
||||||
token?: string,
|
token: string,
|
||||||
) {
|
) {
|
||||||
const message = {
|
const message = {
|
||||||
notification: {
|
notification: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user