Skip to content

Commit

Permalink
Merge pull request #40 from rfoel/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
rfoel authored Aug 25, 2020
2 parents ba06bfd + 20c6c50 commit 181b96e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const Map = ({ summaryPolyline }) => {
<polyline
points={points}
fill="none"
stroke="black"
stroke="currentColor"
strokeWidth="0.0001"
strokeLinecap="round"
strokeLinejoin="round"
Expand Down
1 change: 1 addition & 0 deletions components/Text.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const Text = styled.div(
display: inline;
font-family: 'TT Firs Neue', -apple-system, system-ui, 'Segoe UI', Roboto,
Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
font-weight: 600;
`,
)

Expand Down
2 changes: 1 addition & 1 deletion pages/api/runs.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const runs = async (req, res) => {
const {
query: { limit = 1, skip = 0 },
} = req
console.log({ limit, skip })

const runs = await collection.find(
{},
{},
Expand Down
2 changes: 1 addition & 1 deletion pages/api/sync.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const sync = async (req, res) => {
await Promise.all(activities.map(addRun))

res
.status(201)
.status(200)
.json({ message: `${activities.length} activities successfully synced` })
} catch (error) {
res.status(500).json({ message: error.message })
Expand Down
2 changes: 1 addition & 1 deletion styles/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
src: url('/public/TTFirsNeue-DemiBold.eot?#iefix') format('embedded-opentype'),
url('/public/TTFirsNeue-DemiBold.woff2') format('woff2'),
url('/public/TTFirsNeue-DemiBold.woff') format('woff'),
url('/public/TTFirsNeue-DemiBold.svg#TTFirsNeue-DemiBold') format('svg');
url('/public/TTFirsNeue-DemiBold.ttf') format('truetype');
}

html,
Expand Down

1 comment on commit 181b96e

@vercel
Copy link

@vercel vercel bot commented on 181b96e Aug 25, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.