feat: avatars for humans #273

Merged
talksik merged 11 commits from worktree-refactored-strolling-treasure into main 2026-06-11 22:30:21 +00:00
Showing only changes of commit 81f376cf62 - Show all commits
+3 -1
View File
@@ -147,8 +147,10 @@ func main() {
// Settings
mux.Handle("PATCH /humans/me/settings", withAuth(h.UpdateSettings))
mux.HANDLE("PUT /humans/me/avatar", withAuth(h.UpdateAvatar))
mux.HANDLE("DELETE /humans/me/avatar", withAuth(h.DeleteAvatar))
// Get avatar download url
// Get avatar download url, given objectId
mux.Handle("GET /humans/avatar/{id}", withAuth(h.GetObjectDownloadUrl))
// Push notification tokens (per-device)