(w http.ResponseWriter, r *http.Request)
| 480 | } |
| 481 | |
| 482 | func (s *Server) appInstallMe(w http.ResponseWriter, r *http.Request) { |
| 483 | ac := appContextFrom(r) |
| 484 | writeAppJSON(w, http.StatusOK, AppInstallMe{ |
| 485 | InstallID: ac.InstallID, WorkspaceID: ac.WorkspaceID, WorkspaceSlug: ac.WorkspaceSlug, |
| 486 | AuthKind: ac.AuthKind, Access: ac.Access, |
| 487 | UserID: ac.Actor.ID, DisplayName: ac.Actor.Name, IsApp: ac.Actor.IsApp(), |
| 488 | }) |
| 489 | } |
| 490 | |
| 491 | func (s *Server) appMe(w http.ResponseWriter, r *http.Request) { |
| 492 | ac := appContextFrom(r) |
nothing calls this directly
no test coverage detected