summaryrefslogtreecommitdiff
path: root/internal/typeutils
diff options
context:
space:
mode:
Diffstat (limited to 'internal/typeutils')
-rw-r--r--internal/typeutils/converter.go2
-rw-r--r--internal/typeutils/internal.go8
2 files changed, 5 insertions, 5 deletions
diff --git a/internal/typeutils/converter.go b/internal/typeutils/converter.go
index 9cd7ad9b4..ab680fbdd 100644
--- a/internal/typeutils/converter.go
+++ b/internal/typeutils/converter.go
@@ -145,7 +145,7 @@ type TypeConverter interface {
/*
WRAPPER CONVENIENCE FUNCTIONS
*/
-
+
// WrapPersonInUpdate
WrapPersonInUpdate(person vocab.ActivityStreamsPerson, originAccount *gtsmodel.Account) (vocab.ActivityStreamsUpdate, error)
}
diff --git a/internal/typeutils/internal.go b/internal/typeutils/internal.go
index 3110b382c..626509b34 100644
--- a/internal/typeutils/internal.go
+++ b/internal/typeutils/internal.go
@@ -40,10 +40,10 @@ func (c *converter) StatusToBoost(s *gtsmodel.Status, boostingAccount *gtsmodel.
URL: boostWrapperStatusURL,
// the boosted status is not created now, but the boost certainly is
- CreatedAt: time.Now(),
- UpdatedAt: time.Now(),
- Local: local,
- AccountID: boostingAccount.ID,
+ CreatedAt: time.Now(),
+ UpdatedAt: time.Now(),
+ Local: local,
+ AccountID: boostingAccount.ID,
// replies can be boosted, but boosts are never replies
InReplyToID: "",