Skip to content

Commit

Permalink
Merge branch 'alpha' into beta
Browse files Browse the repository at this point in the history
  • Loading branch information
alimy committed Sep 27, 2023
2 parents c399099 f570f1b commit c9bbb10
Show file tree
Hide file tree
Showing 37 changed files with 89 additions and 35 deletions.
4 changes: 3 additions & 1 deletion internal/servants/web/loose.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 96,9 @@ func (s *looseSrv) getIndexTweets(req *web.TimelineReq, limit int, offset int) (
if req.User != nil {
posts, total, xerr = s.Ds.ListFollowingTweets(req.User.ID, limit, offset)
} else {
return nil, web.ErrGetPostsNilUser
// return nil, web.ErrGetPostsNilUser
// 宽松处理,前端退出登录后马上获取动态列表,可能错误走到这里
posts, total, xerr = s.Ds.ListIndexNewestTweets(limit, offset)
}
case web.StyleTweetsNewest:
posts, total, xerr = s.Ds.ListIndexNewestTweets(limit, offset)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions web/dist/assets/Collection-53397755.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion web/dist/assets/Collection-a1f12801.css

This file was deleted.

1 change: 0 additions & 1 deletion web/dist/assets/Collection-ab8c2388.js

This file was deleted.

1 change: 1 addition & 0 deletions web/dist/assets/Collection-e605040f.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit c9bbb10

Please sign in to comment.