فهرست منبع

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

Fix logging out of providers, closes #741
Artur Paikin 7 سال پیش
والد
کامیت
80e83fce2c
1فایلهای تغییر یافته به همراه0 افزوده شده و 1 حذف شده
  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 = {