mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-11 00:47:29 -06:00
start work on accounts module
This commit is contained in:
parent
aa9ce272dc
commit
7139116e5d
7 changed files with 133 additions and 6 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue