Turnstile setting secret via env

Hello i have question about this i have turnstile and want to set the secret via context.env and this code throws 1101 whats the right way of doing this?
export const onRequest = [
  (context) => {
    return turnstilePlugin({
      secret: context.env.SECRET,
    });
  },
  ...otherplugins or function
]
Was this page helpful?