{"action":"opened","issue":{"url":"https://api.github.com/repos/jshttp/cookie/issues/84","repository_url":"https://api.github.com/repos/jshttp/cookie","labels_url":"https://api.github.com/repos/jshttp/cookie/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/jshttp/cookie/issues/84/comments","events_url":"https://api.github.com/repos/jshttp/cookie/issues/84/events","html_url":"https://github.com/jshttp/cookie/issues/84","id":378078203,"node_id":"MDU6SXNzdWUzNzgwNzgyMDM=","number":84,"title":"If you call setCookie twice, it will only set the last cookie","user":{"login":"JosephCarrington","id":1017852,"node_id":"MDQ6VXNlcjEwMTc4NTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1017852?v=4","gravatar_id":"","url":"https://api.github.com/users/JosephCarrington","html_url":"https://github.com/JosephCarrington","followers_url":"https://api.github.com/users/JosephCarrington/followers","following_url":"https://api.github.com/users/JosephCarrington/following{/other_user}","gists_url":"https://api.github.com/users/JosephCarrington/gists{/gist_id}","starred_url":"https://api.github.com/users/JosephCarrington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JosephCarrington/subscriptions","organizations_url":"https://api.github.com/users/JosephCarrington/orgs","repos_url":"https://api.github.com/users/JosephCarrington/repos","events_url":"https://api.github.com/users/JosephCarrington/events{/privacy}","received_events_url":"https://api.github.com/users/JosephCarrington/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-06T23:28:32Z","updated_at":"2018-11-06T23:28:32Z","closed_at":null,"author_association":"NONE","body":"```\r\nexport function setCookie(ctx = {}, name, value, options = {}) {\r\n  if (ctx && ctx.res) {\r\n    ctx.res.setHeader('Set-Cookie', cookie.serialize(name, value, options))\r\n  }\r\n\r\n  if (process.browser) {\r\n    document.cookie = cookie.serialize(name, value, options)\r\n  }\r\n\r\n  return {}\r\n}\r\n\r\n```"}}
{"actor":{"display_login":"JosephCarrington"}}