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