appview: add nil-check before resubmit-check
resubmit checks are valid only for users that are logged in
oppi.li 8 months ago cfd2a0ca f79b2d2b
··· 116 116 117 117 mergeCheckResponse := s.mergeCheck(f, pull) 118 118 resubmitResult := pages.Unknown 119 119 - if user.Did == pull.OwnerDid { 119 119 + if user != nil && user.Did == pull.OwnerDid { 120 120 resubmitResult = s.resubmitCheck(f, pull) 121 121 } 122 122