go fmt
This commit is contained in:
@ -384,11 +384,11 @@ func (ps *postgresService) AccountToMastoSensitive(a *model.Account) (*mastotype
|
|||||||
fields := []mastotypes.Field{}
|
fields := []mastotypes.Field{}
|
||||||
for _, f := range a.Fields {
|
for _, f := range a.Fields {
|
||||||
mField := mastotypes.Field{
|
mField := mastotypes.Field{
|
||||||
Name: f.Name,
|
Name: f.Name,
|
||||||
Value: f.Value,
|
Value: f.Value,
|
||||||
}
|
}
|
||||||
if !f.VerifiedAt.IsZero() {
|
if !f.VerifiedAt.IsZero() {
|
||||||
mField.VerifiedAt = f.VerifiedAt.Format(time.RFC3339)
|
mField.VerifiedAt = f.VerifiedAt.Format(time.RFC3339)
|
||||||
}
|
}
|
||||||
fields = append(fields, mField)
|
fields = append(fields, mField)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user