From 5c1bd0ff6678e3693d14fd6062b9eb5f6ce90249 Mon Sep 17 00:00:00 2001 From: alteredworlds Date: Fri, 3 Feb 2023 16:37:49 +0000 Subject: [PATCH] Update docs/ArchitectureLearningJourney.md - Writing data --- docs/ArchitectureLearningJourney.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/ArchitectureLearningJourney.md b/docs/ArchitectureLearningJourney.md index 6b6fa4420..9b5a0e6aa 100644 --- a/docs/ArchitectureLearningJourney.md +++ b/docs/ArchitectureLearningJourney.md @@ -192,9 +192,9 @@ Whenever the list of topics changes (for example, when a new topic is added), th To write data, the repository provides suspend functions. It is up to the caller to ensure that their execution is suitably scoped. -_Example: Follow a topic_ +_Example: Follow a set of topics_ -Simply call `TopicsRepository.setFollowedTopicId` with the ID of the topic which the user wishes to follow. +Simply call `UserDataRepository.setFollowedTopicIds` with the set of IDs of the topics the user wishes to follow. ### Data sources