From 023043b5ffa074244ce286a966e5e81f0b63f867 Mon Sep 17 00:00:00 2001 From: Lindsey Dew <1202622+lindseydew@users.noreply.github.com> Date: Wed, 27 Mar 2024 10:12:37 +0000 Subject: [PATCH] Update comment --- .../com/gu/sfl/persistence/SavedArticlesPersistence.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/src/main/scala/com/gu/sfl/persistence/SavedArticlesPersistence.scala b/common/src/main/scala/com/gu/sfl/persistence/SavedArticlesPersistence.scala index b23ca99c..4f49dfdc 100644 --- a/common/src/main/scala/com/gu/sfl/persistence/SavedArticlesPersistence.scala +++ b/common/src/main/scala/com/gu/sfl/persistence/SavedArticlesPersistence.scala @@ -60,8 +60,8 @@ class SavedArticlesPersistenceImpl(persistanceConfig: PersistenceConfig) extends * Previously we had been using the put method to create new records, * however the put operation only supports return values of the old value or none * https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_PutItem.html - * Since we use the database response to respond to - * + * Since we use the database response to respond to the client, we want to have + * the latest data from the data * @param userId * @param savedArticles * @return savedArticles