summaryrefslogtreecommitdiff
path: root/internal/api/model
diff options
context:
space:
mode:
authorLibravatar Markus Unterwaditzer <markus-github@unterwaditzer.net>2024-10-12 10:02:26 +0200
committerLibravatar GitHub <noreply@github.com>2024-10-12 10:02:26 +0200
commit95a316236e3651c27d995fcdc8093ae0d1f96125 (patch)
tree13669ae1942d5ce0309a14933104a793cfcd4071 /internal/api/model
parent[chore] Don't cc Accept of likes to followers (#3417) (diff)
downloadgotosocial-95a316236e3651c27d995fcdc8093ae0d1f96125.tar.xz
[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
Diffstat (limited to 'internal/api/model')
-rw-r--r--internal/api/model/account.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/api/model/account.go b/internal/api/model/account.go
index d34d7d519..3ad5d5399 100644
--- a/internal/api/model/account.go
+++ b/internal/api/model/account.go
@@ -84,8 +84,8 @@ type Account struct {
FollowingCount int `json:"following_count"`
// Number of statuses posted by this account, according to our instance.
StatusesCount int `json:"statuses_count"`
- // When the account's most recent status was posted (ISO 8601 Datetime).
- // example: 2021-07-30T09:20:25+00:00
+ // When the account's most recent status was posted (ISO 8601 Date).
+ // example: 2021-07-30
LastStatusAt *string `json:"last_status_at"`
// Array of custom emojis used in this account's note or display name.
// Empty for blocked accounts.