This commit is contained in:
Timothy J. Baek 2024-06-24 15:21:42 -07:00
parent 0f4f01cee9
commit 284ab648b6

View File

@ -534,9 +534,8 @@
const createdAtDate = new Date(createdAtTimestamp * 1000) const createdAtDate = new Date(createdAtTimestamp * 1000)
.toISOString() .toISOString()
.split('T')[0]; .split('T')[0];
acc.push(`${index + 1}. [${createdAtDate}]. ${doc}`); return `${acc}${index + 1}. [${createdAtDate}]. ${doc}\n`;
return acc; }, '');
}, []);
} }
console.log(userContext); console.log(userContext);