[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
This commit is contained in:
tobi
2024-04-18 13:22:55 +02:00
committed by GitHub
parent 431505b3e4
commit b7c629a18a
4 changed files with 11 additions and 7 deletions

View File

@ -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"`
}