mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Fix full_description being an object
This commit is contained in:
parent
98ba607583
commit
8536fcf58c
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ module Spectator::Formatting
|
|||
|
||||
@json.start_object
|
||||
@json.field("description", example.name? || "<anonymous>")
|
||||
@json.field("full_description", example)
|
||||
@json.field("full_description", example.to_s)
|
||||
|
||||
if location = example.location?
|
||||
@json.field("file_path", location.path)
|
||||
|
|
Loading…
Reference in a new issue