This commit is contained in:
tsmethurst 2021-03-25 20:08:50 +01:00
parent 9453dcd2b1
commit 46640813bb
1 changed files with 3 additions and 3 deletions

View File

@ -384,11 +384,11 @@ func (ps *postgresService) AccountToMastoSensitive(a *model.Account) (*mastotype
fields := []mastotypes.Field{}
for _, f := range a.Fields {
mField := mastotypes.Field{
Name: f.Name,
Value: f.Value,
Name: f.Name,
Value: f.Value,
}
if !f.VerifiedAt.IsZero() {
mField.VerifiedAt = f.VerifiedAt.Format(time.RFC3339)
mField.VerifiedAt = f.VerifiedAt.Format(time.RFC3339)
}
fields = append(fields, mField)
}