Skip to content

Commit

Permalink
Maintenance: Mobile - Don't use empty Link for test flags
Browse files Browse the repository at this point in the history
  • Loading branch information
sheremet-va committed Jul 28, 2022
1 parent cc602dc commit 59ecbfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/frontend/shared/server/apollo/link.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@ const testFlagLink = VITE_TEST_MODE
return response
})
})
: ApolloLink.empty()
: null

const link = from([
testFlagLink,
...(testFlagLink ? [testFlagLink] : []),
csrfLink,
errorLink,
setAuthorizationLink,
Expand Down

0 comments on commit 59ecbfc

Please sign in to comment.