File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
packages/app/src/app/overmind Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ export const signInZeitClicked: AsyncAction = async ({
157157} ;
158158
159159export const signOutZeitClicked : AsyncAction = async ( { state, effects } ) => {
160- await effects . http . delete ( `/users/current_user/integrations/zeit` ) ;
160+ await effects . api . signoutZeit ( ) ;
161161 state . user . integrations . zeit = null ;
162162} ;
163163
Original file line number Diff line number Diff line change @@ -432,6 +432,9 @@ export default {
432432 signoutGithubIntegration ( ) : Promise < void > {
433433 return api . delete ( `/users/current_user/integrations/github` ) ;
434434 } ,
435+ signoutZeit ( ) : Promise < void > {
436+ return api . delete ( `/users/current_user/integrations/zeit` ) ;
437+ } ,
435438 preloadTemplates ( ) {
436439 client . query ( { query : LIST_TEMPLATES , variables : { showAll : true } } ) ;
437440 } ,
You can’t perform that action at this time.
0 commit comments