Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Remove TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
domharrington committed Dec 21, 2018
1 parent 6ad5040 commit 786a244
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/api-logs/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,6 @@ class Logs extends React.Component {
const { query, baseUrl } = this.props;
this.setState({ loading: true });

// TODO make sure the new way works
// if (group) {
// query.id = group;
// }

const reqUrl = `${baseUrl}api/logs?${querystring.stringify(Object.assign({}, query, { id: group || null, limit: 5, page: 0 }))}`;

return fetch(reqUrl).then(res => {
Expand Down Expand Up @@ -219,7 +214,6 @@ class Logs extends React.Component {
const { query, baseUrl } = this.props;
if (!group) return null;

// TODO make sure this works with method
const url = `${baseUrl}logs?${querystring.stringify(Object.assign({}, query, { id: group }))}`;

return (
Expand Down

0 comments on commit 786a244

Please sign in to comment.