diff options
Diffstat (limited to 'src/components/List.js')
-rw-r--r-- | src/components/List.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/List.js b/src/components/List.js index e526c4b..8b48307 100644 --- a/src/components/List.js +++ b/src/components/List.js @@ -54,7 +54,7 @@ class List extends React.Component { getData() { fetch(`${process.env.COLLECTOR_URL}/sc/v0/get?${this.queryString()}`, { headers: { - Authorization: "Bearer " + localStorage.getItem("token") + Authorization: "Bearer " + this.props.token } }) // TODO: Look at `status` or return code or both? |