mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-05-31 20:02:09 +00:00
Move more model into models/user (#17826)
* Move more model into models/user * Remove unnecessary comment Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
parent
b1df890951
commit
9defddb286
23 changed files with 547 additions and 603 deletions
|
@ -273,7 +273,7 @@ func GetIssueSubscribers(ctx *context.APIContext) {
|
|||
userIDs = append(userIDs, iw.UserID)
|
||||
}
|
||||
|
||||
users, err := models.GetUsersByIDs(userIDs)
|
||||
users, err := user_model.GetUsersByIDs(userIDs)
|
||||
if err != nil {
|
||||
ctx.Error(http.StatusInternalServerError, "GetUsersByIDs", err)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue