Ignore missing comment for user notifications (#18954) (#19043)

此提交包含在:
zeripath
2022-03-10 01:48:27 -05:00
提交者 GitHub
父節點 03d924238c
當前提交 4047c5c068
共有 2 個檔案被更改,包括 5 行新增4 行删除
+1 -1
查看文件
@@ -121,7 +121,7 @@ func ListRepoNotifications(ctx *context.APIContext) {
return
}
err = nl.LoadAttributes()
if err != nil && !models.IsErrCommentNotExist(err) {
if err != nil {
ctx.InternalServerError(err)
return
}