Added endpoint for shares

This commit is contained in:
2026-03-04 14:23:09 +01:00
parent 2f4e0bb8ce
commit 91997686d1
7 changed files with 102 additions and 10 deletions

View File

@@ -236,7 +236,7 @@ func UserInfo(w http.ResponseWriter, r *http.Request) {
err = json.NewEncoder(w).Encode(map[string]interface{}{
"id": user.ID,
"name": user.Username,
"avatar_url": nil,
"avatar_url": "",
})
if err != nil {
log.Println("GET [api/userinfo] " + r.RemoteAddr + ": " + err.Error())