start work on accounts module

This commit is contained in:
tsmethurst
2021-03-23 13:17:54 +01:00
parent aa9ce272dc
commit 7139116e5d
7 changed files with 133 additions and 6 deletions

View File

@ -41,8 +41,8 @@ type Application struct {
VapidKey string
}
// ToMastotype returns this application as a mastodon api type, ready for serialization
func (a *Application) ToMastotype() *mastotypes.Application {
// ToMasto returns this application as a mastodon api type, ready for serialization
func (a *Application) ToMasto() *mastotypes.Application {
return &mastotypes.Application{
ID: a.ID,
Name: a.Name,