Skip to content

Commit

Permalink
map fix
Browse files Browse the repository at this point in the history
  • Loading branch information
douglasemilio committed Mar 17, 2023
1 parent 895d6ea commit 59288b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aqua/components/home/MapsContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ class MapsContent extends React.Component {

try {
const response = await axios.get(buildApiUrl("/maps/"), {
params: { project: projectId },
params: { project: projectId, limit: 500, offset: 0 },
headers: { Authorization: this.props.token },
});
this.setState({ maps: response.data.results });
Expand Down
2 changes: 1 addition & 1 deletion aqua/pages/maps.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ class Maps extends React.Component {
const headers = token ? { Authorization: token } : {};

axios
.get(buildApiUrl(`/maps/${uuid}/`), { headers: headers }, { params: { limit: 500 }})
.get(buildApiUrl(`/maps/${uuid}/`), { headers: headers })
.then(response => {
const map = response.data;

Expand Down

0 comments on commit 59288b1

Please sign in to comment.