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 71fe83bd0f - Show all commits
+2 -2
View File
@@ -147,8 +147,8 @@ 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))
mux.Handle("PUT /humans/me/avatar", withAuth(h.UpdateAvatar))
mux.Handle("DELETE /humans/me/avatar", withAuth(h.DeleteAvatar))
// Get avatar download url, given objectId
mux.Handle("GET /humans/avatar/{id}", withAuth(h.GetObjectDownloadUrl))