aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/zot/zot/abook.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/zot/zot/abook.rs')
-rw-r--r--src/bin/zot/zot/abook.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/zot/zot/abook.rs b/src/bin/zot/zot/abook.rs
index 97025c3..6c33757 100644
--- a/src/bin/zot/zot/abook.rs
+++ b/src/bin/zot/zot/abook.rs
@@ -15,8 +15,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-pub fn fetch(client: &zotapi::Client, _raw: bool) {
- match zotapi::Abook::z().fetch(&client) {
+pub async fn fetch(client: &zotapi::Client, _raw: bool) {
+ match zotapi::Abook::z().fetch(&client).await {
Ok(abooks) => {
for b in abooks {
println!("{:?}", b);