Add support for /api/v1/push/subscription

This commit is contained in:
buckket 2019-05-17 23:47:32 +02:00
parent 8f6192e26b
commit 3dafb3b9da
No known key found for this signature in database
GPG key ID: 06C09618D395A6CD
5 changed files with 193 additions and 3 deletions

View file

@ -41,10 +41,10 @@ type Field struct {
// AccountSource is a Mastodon account profile field.
type AccountSource struct {
Privacy *string `json:"privacy"`
Privacy *string `json:"privacy"`
Sensitive *bool `json:"sensitive"`
Language *string `json:"language"`
Note *string `json:"note"`
Language *string `json:"language"`
Note *string `json:"note"`
Fields *[]Field `json:"fields"`
}