AngadA
Windmillโ€ข3y agoโ€ข
6 replies
Angad

i am facing an issue in get webhook when parsing a query parameter

include_query=hub.mode,hub.challenge

the query variable are hub.mode and hub.challenge but i cant use this in script as a syntax error

export async function main(hub.mode,hub.challenge) { -----> this give syntax eror
return
}

is there some query object from which i can directly access these parameter as a key value.
Was this page helpful?