From 14517b1638b83d404dcc714f1d3bc3521d220812 Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Sun, 14 Jan 2018 19:57:06 +0800 Subject: [PATCH] fix(closet): fix closet json result --- app/Models/Closet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Models/Closet.php b/app/Models/Closet.php index 7f2d6aab..d088f819 100644 --- a/app/Models/Closet.php +++ b/app/Models/Closet.php @@ -225,7 +225,7 @@ class Closet { if (!$this->closet_modified) return false; - return $this->setTextures($this->textures->toJson()); + return $this->setTextures($this->textures->values()->toJson()); } /**