diff options
author | kumavis <aaron@kumavis.me> | 2018-06-14 12:11:04 +0800 |
---|---|---|
committer | kumavis <aaron@kumavis.me> | 2018-06-14 12:11:04 +0800 |
commit | e9cb6508324c166a2d6efe53cf82c39abd4520b4 (patch) | |
tree | da584d964cf84470250f242923967afa7b6a4822 /app/scripts/lib/bug-notifier.js | |
parent | 691ac5d288963f376e34c1711e23bbd58432396f (diff) | |
parent | 66c77dc2bd95f40e2d6113e3b932e25c6dc8030c (diff) | |
download | tangerine-wallet-browser-e9cb6508324c166a2d6efe53cf82c39abd4520b4.tar.gz tangerine-wallet-browser-e9cb6508324c166a2d6efe53cf82c39abd4520b4.tar.zst tangerine-wallet-browser-e9cb6508324c166a2d6efe53cf82c39abd4520b4.zip |
Merge branch 'develop' of github.com:MetaMask/metamask-extension into ValidateEmptyKey
Diffstat (limited to 'app/scripts/lib/bug-notifier.js')
-rw-r--r-- | app/scripts/lib/bug-notifier.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/app/scripts/lib/bug-notifier.js b/app/scripts/lib/bug-notifier.js deleted file mode 100644 index 4d305b894..000000000 --- a/app/scripts/lib/bug-notifier.js +++ /dev/null @@ -1,22 +0,0 @@ -class BugNotifier { - notify (uri, message) { - return postData(uri, message) - } -} - -function postData(uri, data) { - return fetch(uri, { - body: JSON.stringify(data), // must match 'Content-Type' header - credentials: 'same-origin', // include, same-origin, *omit - headers: { - 'content-type': 'application/json', - }, - method: 'POST', // *GET, POST, PUT, DELETE, etc. - mode: 'cors', // no-cors, cors, *same-origin - }) -} - -const notifier = new BugNotifier() - -module.exports = notifier - |