Skip to content

Commit

Permalink
Lemoncode#171 Fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
fjcalzado committed Nov 19, 2017
1 parent 01f09d2 commit 07ea030
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rest-api/helpers.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const methodBase = {
mode: 'cors' as RequestMode,
credentials: 'include' as RequestCredentials,
headers: {
headers: new Headers({
'Accept': 'application/json',
'Content-Type': 'application/json',
},
}),
};

export const formatURL = (url) => (`${process.env.BASE_API_URL}${url}`);
Expand Down

0 comments on commit 07ea030

Please sign in to comment.