Last active
May 31, 2022 08:58
-
-
Save PamornT/0bd1840c963f26949add8e53174d4a1a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Verify Events request must array | |
const events = request.body.events | |
if(!events || !Array.isArray(events)) { | |
response.status(200).send('not have events') | |
return | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment