{"action":"created","issue":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/670","repository_url":"https://api.github.com/repos/ParsePlatform/parse-server","labels_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/670/labels{/name}","comments_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/670/comments","events_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/670/events","html_url":"https://github.com/ParsePlatform/parse-server/pull/670","id":136590217,"number":670,"title":"Use constants instead of magic strings for trigger names.","user":{"login":"nlutsenko","id":606991,"avatar_url":"https://avatars.githubusercontent.com/u/606991?v=3","gravatar_id":"","url":"https://api.github.com/users/nlutsenko","html_url":"https://github.com/nlutsenko","followers_url":"https://api.github.com/users/nlutsenko/followers","following_url":"https://api.github.com/users/nlutsenko/following{/other_user}","gists_url":"https://api.github.com/users/nlutsenko/gists{/gist_id}","starred_url":"https://api.github.com/users/nlutsenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlutsenko/subscriptions","organizations_url":"https://api.github.com/users/nlutsenko/orgs","repos_url":"https://api.github.com/users/nlutsenko/repos","events_url":"https://api.github.com/users/nlutsenko/events{/privacy}","received_events_url":"https://api.github.com/users/nlutsenko/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ParsePlatform/parse-server/labels/GH%20Review:%20accepted","name":"GH Review: accepted","color":"009800"}],"state":"closed","locked":false,"assignee":{"login":"nlutsenko","id":606991,"avatar_url":"https://avatars.githubusercontent.com/u/606991?v=3","gravatar_id":"","url":"https://api.github.com/users/nlutsenko","html_url":"https://github.com/nlutsenko","followers_url":"https://api.github.com/users/nlutsenko/followers","following_url":"https://api.github.com/users/nlutsenko/following{/other_user}","gists_url":"https://api.github.com/users/nlutsenko/gists{/gist_id}","starred_url":"https://api.github.com/users/nlutsenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nlutsenko/subscriptions","organizations_url":"https://api.github.com/users/nlutsenko/orgs","repos_url":"https://api.github.com/users/nlutsenko/repos","events_url":"https://api.github.com/users/nlutsenko/events{/privacy}","received_events_url":"https://api.github.com/users/nlutsenko/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-02-26T04:02:43Z","updated_at":"2016-02-26T16:04:08Z","closed_at":"2016-02-26T04:45:25Z","pull_request":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/pulls/670","html_url":"https://github.com/ParsePlatform/parse-server/pull/670","diff_url":"https://github.com/ParsePlatform/parse-server/pull/670.diff","patch_url":"https://github.com/ParsePlatform/parse-server/pull/670.patch"},"body":"In all of these occurences - we are using a magic string (stirng literal created in place) instead of a constant - just use the constant, since we have `triggers.js` imported.\nThere are actually no more occurences of this, so we might as well continue using constants for these in future at all times."},"comment":{"url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/comments/189341972","html_url":"https://github.com/ParsePlatform/parse-server/pull/670#issuecomment-189341972","issue_url":"https://api.github.com/repos/ParsePlatform/parse-server/issues/670","id":189341972,"user":{"login":"flovilmart","id":364568,"avatar_url":"https://avatars.githubusercontent.com/u/364568?v=3","gravatar_id":"","url":"https://api.github.com/users/flovilmart","html_url":"https://github.com/flovilmart","followers_url":"https://api.github.com/users/flovilmart/followers","following_url":"https://api.github.com/users/flovilmart/following{/other_user}","gists_url":"https://api.github.com/users/flovilmart/gists{/gist_id}","starred_url":"https://api.github.com/users/flovilmart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flovilmart/subscriptions","organizations_url":"https://api.github.com/users/flovilmart/orgs","repos_url":"https://api.github.com/users/flovilmart/repos","events_url":"https://api.github.com/users/flovilmart/events{/privacy}","received_events_url":"https://api.github.com/users/flovilmart/received_events","type":"User","site_admin":false},"created_at":"2016-02-26T16:04:08Z","updated_at":"2016-02-26T16:04:08Z","body":"JS has enums"}}