Browse Source

Merge pull request #742 from transloadit/fix/provider-logout

Fix logging out of providers, closes #741
Artur Paikin 7 năm trước cách đây
mục cha
commit
80e83fce2c
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      src/views/ProviderView/index.js

+ 0 - 1
src/views/ProviderView/index.js

@@ -186,7 +186,6 @@ module.exports = class ProviderView {
    */
   logout () {
     this.Provider.logout(location.href)
-      .then((res) => res.json())
       .then((res) => {
         if (res.ok) {
           const newState = {