update-last-active.go (249B)
1 package handlers 2 3 import ( 4 "net/http" 5 ) 6 7 func UpdateLastActive(rw http.ResponseWriter, r *http.Request) { 8 rw.Header().Set("Content-Type", "application/json") 9 header, resp := getRespForUpdateLastActive(r) 10 rw.WriteHeader(header) 11 rw.Write(resp) 12 }