icon should probably be Image type
This commit is contained in:
parent
7837d50fd4
commit
02aaa2d134
|
@ -905,7 +905,7 @@ func asjonker(user *WhatAbout) junk.Junk {
|
||||||
j["summary"] = about
|
j["summary"] = about
|
||||||
j["url"] = user.URL
|
j["url"] = user.URL
|
||||||
a := junk.New()
|
a := junk.New()
|
||||||
a["type"] = "icon"
|
a["type"] = "Image"
|
||||||
a["mediaType"] = "image/png"
|
a["mediaType"] = "image/png"
|
||||||
a["url"] = fmt.Sprintf("https://%s/a?a=%s", serverName, url.QueryEscape(user.URL))
|
a["url"] = fmt.Sprintf("https://%s/a?a=%s", serverName, url.QueryEscape(user.URL))
|
||||||
j["icon"] = a
|
j["icon"] = a
|
||||||
|
|
Loading…
Reference in New Issue