]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Api/Mastodon/Suggestions.php
Merge pull request #13176 from MrPetovan/bug/warnings
[friendica.git] / src / Module / Api / Mastodon / Suggestions.php
index 6eb2509269cd33c625a9114a592fbec7d1ff90c9..9645d39a2e47dc0c3e07bdef89cb43f5ab3d14dc 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -43,7 +43,7 @@ class Suggestions extends BaseApi
                        'limit' => 40, // Maximum number of results to return. Defaults to 40.
                ], $request);
 
-               $suggestions = Contact\Relation::getSuggestions($uid, 0, $request['limit']);
+               $suggestions = Contact\Relation::getCachedSuggestions($uid, 0, $request['limit']);
 
                $accounts = [];