mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-19 03:57:30 -06:00
go fmt
This commit is contained in:
parent
9453dcd2b1
commit
46640813bb
1 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue