i am facing an issue in get webhook when parsing a query parameter
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.