diff --git a/README-en.md b/README-en.md index 4ed79db..6d5a25d 100644 --- a/README-en.md +++ b/README-en.md @@ -607,12 +607,12 @@ const api = { const [id, name, description, address, score, ratings, image] = row.split(',') return { id, - name, - description, - address, + name.trim(), + description.trim(), + address.trim(), score: Number(score), ratings: Number(ratings), - image + image.trim() } }) diff --git a/README-pt.md b/README-pt.md index 65df6c3..aa795c6 100644 --- a/README-pt.md +++ b/README-pt.md @@ -607,12 +607,12 @@ const api = { const [id, name, description, address, score, ratings, image] = row.split(',') return { id, - name, - description, - address, + name.trim(), + description.trim(), + address.trim(), score: Number(score), ratings: Number(ratings), - image + image.trim() } }) diff --git a/README.md b/README.md index cfc5b87..7396919 100644 --- a/README.md +++ b/README.md @@ -604,12 +604,12 @@ const api = { const [id, name, description, address, score, ratings, image] = row.split(',') return { id, - name, - description, - address, + name.trim(), + description.trim(), + address.trim(), score: Number(score), ratings: Number(ratings), - image + image.trim() } })