diff --git a/mailpoet/lib/API/JSON/v1/Tags.php b/mailpoet/lib/API/JSON/v1/Tags.php index aeaa99998e..24bcaac77d 100644 --- a/mailpoet/lib/API/JSON/v1/Tags.php +++ b/mailpoet/lib/API/JSON/v1/Tags.php @@ -47,8 +47,8 @@ class Tags extends APIEndpoint { 'id' => $tag->getId(), 'name' => $tag->getName(), 'description' => $tag->getDescription(), - 'created' => $tag->getCreatedAt(), - 'updated' => $tag->getUpdatedAt(), + 'created_at' => $tag->getCreatedAt(), + 'updated_at' => $tag->getUpdatedAt(), ]; } }