From b7c629a18a3154b7cf8231ce6e4cbb47e8c32730 Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Thu, 18 Apr 2024 13:22:55 +0200 Subject: [bugfix] Fix incorrect field name for status source, add helpful message (#2854) * [bugfix] Fix incorrect field name for status source, add helpful message * swagger * yyammm --- internal/api/model/status.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/api/model') diff --git a/internal/api/model/status.go b/internal/api/model/status.go index d7d3266ed..9543303eb 100644 --- a/internal/api/model/status.go +++ b/internal/api/model/status.go @@ -259,7 +259,7 @@ type StatusSource struct { // example: 01FBVD42CQ3ZEEVMW180SBX03B ID string `json:"id"` // Plain-text source of a status. - Text string `json:"source"` + Text string `json:"text"` // Plain-text version of spoiler text. SpoilerText string `json:"spoiler_text"` } -- cgit v1.2.3