diff --git a/slices/micropub/request_parser.rb b/slices/micropub/request_parser.rb index 273bb7b..e619c38 100644 --- a/slices/micropub/request_parser.rb +++ b/slices/micropub/request_parser.rb @@ -83,7 +83,7 @@ module Micropub }) else photos = if params[:photo].is_a?(String) - {value: params[:photo], alt: ""} + [{value: params[:photo], alt: ""}] elsif params[:photo].nil? [] else