summaryrefslogtreecommitdiff
path: root/api/violette.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/violette.php')
-rw-r--r--api/violette.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/violette.php b/api/violette.php
index 52a0566..19857c9 100644
--- a/api/violette.php
+++ b/api/violette.php
@@ -6,7 +6,7 @@ $data = [
"count" => count($list),
"ponies" => array_values(array_map(function ($i) {
return [
- "url" => $i["avatar_url"] ?? null,
+ "url" => $i["avatar_url"] ?? "",
"label" => $i["display_name"] ?? $i["name"]
];
}, $list))