[bugfix] Account.last_status_at is a date, not datetime (#3419)

* [bugfix] Account.last_status_at is a date, not datetime

Fix #3418

* update swagger
This commit is contained in:
Markus Unterwaditzer
2024-10-12 10:02:26 +02:00
committed by GitHub
parent 77d755e330
commit 95a316236e
16 changed files with 86 additions and 79 deletions

View File

@@ -99,7 +99,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() {
"followers_count": 1,
"following_count": 1,
"statuses_count": 8,
"last_status_at": "2021-07-28T08:40:37.000Z",
"last_status_at": "2021-07-28",
"emojis": [],
"fields": [
{
@@ -157,7 +157,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() {
"followers_count": 1,
"following_count": 1,
"statuses_count": 4,
"last_status_at": "2021-10-20T10:41:37.000Z",
"last_status_at": "2021-10-20",
"emojis": [],
"fields": [],
"enable_rss": true,
@@ -258,7 +258,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() {
"followers_count": 2,
"following_count": 2,
"statuses_count": 8,
"last_status_at": "2024-01-10T09:24:00.000Z",
"last_status_at": "2024-01-10",
"emojis": [],
"fields": [],
"enable_rss": true
@@ -351,7 +351,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() {
"followers_count": 0,
"following_count": 0,
"statuses_count": 1,
"last_status_at": "2023-11-02T10:44:25.000Z",
"last_status_at": "2023-11-02",
"emojis": [],
"fields": []
}
@@ -396,7 +396,7 @@ func (suite *AccountsGetTestSuite) TestAccountsGetFromTop() {
"followers_count": 0,
"following_count": 0,
"statuses_count": 3,
"last_status_at": "2021-09-11T09:40:37.000Z",
"last_status_at": "2021-09-11",
"emojis": [],
"fields": []
}