From 9f29021125895ef2273f10d6fce960eee249f7b1 Mon Sep 17 00:00:00 2001 From: Alex Fernandez Date: Wed, 11 Sep 2024 01:15:18 -0400 Subject: [PATCH] fix register share endpoint --- lib/src/tenor.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/tenor.dart b/lib/src/tenor.dart index c0d5ea9..8c600dd 100644 --- a/lib/src/tenor.dart +++ b/lib/src/tenor.dart @@ -285,7 +285,7 @@ class Tenor { var result = await serverRequest(path, networkTimeout); if (result != null && result.isNotEmpty && - result[0]['status']?.toString().toLowerCase() == 'ok') { + result['status']?.toString().toLowerCase() == 'ok') { return true; } return false;