diff --git a/appview/state/pull.go b/appview/state/pull.go index 3c7a049..d43781b 100644 --- a/appview/state/pull.go +++ b/appview/state/pull.go @@ -116,7 +116,7 @@ func (s *State) RepoSinglePull(w http.ResponseWriter, r *http.Request) { mergeCheckResponse := s.mergeCheck(f, pull) resubmitResult := pages.Unknown - if user.Did == pull.OwnerDid { + if user != nil && user.Did == pull.OwnerDid { resubmitResult = s.resubmitCheck(f, pull) }