From ae5402ada6aa794a69de455f745934b27e030d3d Mon Sep 17 00:00:00 2001 From: tobi <31960611+tsmethurst@users.noreply.github.com> Date: Sat, 28 May 2022 19:59:55 +0200 Subject: [chore] Mastodon api fixups (#617) * don't omitempty on description * don't omitempty on any fields * add ms to timestamp format * don't omitempty on text_url * rearrange attachment fields a bit * just give URL again as attachment text url * update tests * fix accidental replace --- internal/ap/extract_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/ap/extract_test.go') diff --git a/internal/ap/extract_test.go b/internal/ap/extract_test.go index b76717068..d78c3078d 100644 --- a/internal/ap/extract_test.go +++ b/internal/ap/extract_test.go @@ -154,7 +154,7 @@ func addressable4() vocab.ActivityStreamsAnnounce { "cc": "https://another.instance/users/someone_else", "id": "https://example.org/users/someone/statuses/107043888547829808/activity", "object": "https://another.instance/users/someone_else/statuses/107026674805188668", - "published": "2021-10-04T15:08:35Z", + "published": "2021-10-04T15:08:35.00Z", "to": "https://example.org/users/someone/followers", "type": "Announce" }`) -- cgit v1.2.3