{"action":"opened","issue":{"url":"https://api.github.com/repos/rannmann/node-steam-user-trade-tutorial/issues/2","labels_url":"https://api.github.com/repos/rannmann/node-steam-user-trade-tutorial/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/rannmann/node-steam-user-trade-tutorial/issues/2/comments","events_url":"https://api.github.com/repos/rannmann/node-steam-user-trade-tutorial/issues/2/events","html_url":"https://github.com/rannmann/node-steam-user-trade-tutorial/issues/2","id":97162451,"number":2,"title":"admin doesn't work with ===","user":{"login":"limpakoll","id":10169215,"avatar_url":"https://avatars.githubusercontent.com/u/10169215?v=3","gravatar_id":"","url":"https://api.github.com/users/limpakoll","html_url":"https://github.com/limpakoll","followers_url":"https://api.github.com/users/limpakoll/followers","following_url":"https://api.github.com/users/limpakoll/following{/other_user}","gists_url":"https://api.github.com/users/limpakoll/gists{/gist_id}","starred_url":"https://api.github.com/users/limpakoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limpakoll/subscriptions","organizations_url":"https://api.github.com/users/limpakoll/orgs","repos_url":"https://api.github.com/users/limpakoll/repos","events_url":"https://api.github.com/users/limpakoll/events{/privacy}","received_events_url":"https://api.github.com/users/limpakoll/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-24T22:42:58Z","updated_at":"2015-07-24T22:42:58Z","closed_at":null,"body":"```\r\nif (offer.partner.getSteamID64() === config.admin || offer.itemsToGive.length === 0)\r\n```\r\n\r\nshould just check the equality\r\n\r\n```\r\nif (offer.partner.getSteamID64() == config.admin || offer.itemsToGive.length === 0)\r\n```\r\n\r\ntested it and seems like its working now as intended."}}