mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 06:25:31 +00:00
Add question
This commit is contained in:
parent
7790e98f47
commit
e8013250b8
|
@ -42,6 +42,7 @@ func StarNew(id ap.ID, ob ap.ID) *Star {
|
||||||
return &o
|
return &o
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ToDo: should Star be *Star?
|
||||||
func (a Star) MarshalJSON() ([]byte, error) {
|
func (a Star) MarshalJSON() ([]byte, error) {
|
||||||
b := make([]byte, 0)
|
b := make([]byte, 0)
|
||||||
ap.JSONWrite(&b, '{')
|
ap.JSONWrite(&b, '{')
|
||||||
|
|
Loading…
Reference in a new issue