@@ -138,12 +138,12 @@ void main() {
138138
139139 api.get("/favorites", (ctx) async {
140140 // Get a list of all the keys in the store
141- var keys = await favouritesKV .keys();
141+ var keys = await favoritesKV .keys();
142142
143- var favourites = await keys.asyncMap((k) async {
144- final favourite = await favouritesKV .get(k);
143+ var favorites = await keys.asyncMap((k) async {
144+ final favorite = await favoritesKV .get(k);
145145
146- return favourite ;
146+ return favorite ;
147147
148148 }).toList();
149149
@@ -175,12 +175,12 @@ void main() {
175175
176176 api.get("/favorites", (ctx) async {
177177 // Get a list of all the keys in the store
178- var keys = await favouritesKV .keys();
178+ var keys = await favoritesKV .keys();
179179
180- var favourites = await keys.asyncMap((k) async {
181- final favourite = await favouritesKV .get(k);
180+ var favorites = await keys.asyncMap((k) async {
181+ final favorite = await favoritesKV .get(k);
182182
183- return favourite ;
183+ return favorite ;
184184
185185 }).toList();
186186
@@ -203,7 +203,7 @@ void main() {
203203 // checks if the favorite exists in the list of keys
204204 var exists = false;
205205 await for (final key in keys) {
206- if (key == favourite .name) {
206+ if (key == favorite .name) {
207207 exists = true;
208208 }
209209 }
@@ -282,12 +282,12 @@ void main() {
282282
283283 api.get("/favorites", (ctx) async {
284284 // Get a list of all the keys in the store
285- var keys = await favouritesKV .keys();
285+ var keys = await favoritesKV .keys();
286286
287- var favourites = await keys.asyncMap((k) async {
288- final favourite = await favouritesKV .get(k);
287+ var favorites = await keys.asyncMap((k) async {
288+ final favorite = await favoritesKV .get(k);
289289
290- return favourite ;
290+ return favorite ;
291291
292292 }).toList();
293293
@@ -310,7 +310,7 @@ void main() {
310310 // checks if the favorite exists in the list of keys
311311 var exists = false;
312312 await for (final key in keys) {
313- if (key == favourite .name) {
313+ if (key == favorite .name) {
314314 exists = true;
315315 }
316316 }
@@ -364,7 +364,7 @@ The first will show the current generated word along with a history of all previ
364364
365365The second page will show the list of favorites if there are any, otherwise it will display that there are no word pairs currently liked.
366366
367- 
367+ 
368368
369369# ## Providers
370370
0 commit comments