From 8cc06fd67ede3b01e5dc7a8e671ded990dfa2ce9 Mon Sep 17 00:00:00 2001 From: chiu Date: Tue, 9 Apr 2024 12:37:46 +0000 Subject: [PATCH] fix error --- app/controllers/galleries_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/galleries_controller.rb b/app/controllers/galleries_controller.rb index 6b2ae9e..98c7316 100644 --- a/app/controllers/galleries_controller.rb +++ b/app/controllers/galleries_controller.rb @@ -221,7 +221,7 @@ class GalleriesController < ApplicationController title: values.title, alt_title: alt_text, url: values.file.url, - file: values.file.as_json[:file], + file: values.file.as_json, gallery_album_id: values.album_id, tags: values.tags} end