From b1afedc7114871eae00ec4ba024fa0a303d0da12 Mon Sep 17 00:00:00 2001 From: martinacostadev Date: Tue, 7 Oct 2025 20:54:19 -0300 Subject: [PATCH] fix: google sheet data trim --- README-en.md | 8 ++++---- README-pt.md | 8 ++++---- README.md | 8 ++++---- 3 files changed, 12 insertions(+), 12 deletions(-) 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() } })