Set multiple cookies in the returned response?

It works perfectly on local dev.

But unfortunately when deployed, it returned this error: error decoding lambda response: json: cannot unmarshal string into Go struct field .multiValueHeaders of type []interface {}

My package.json only has this 1 command:

"scripts": {
  "build": "netlify-lambda build src/functions"
},

and my netlify.toml only has build settings

[build]
  command = "npm run build"
  publish = "build"
  functions = "functions"

Not sure what i did wrong here. :thinking: