Skip to content

Commit

Permalink
修复:导出备份失败 #303
Browse files Browse the repository at this point in the history
  • Loading branch information
dushixiang committed Nov 7, 2022
1 parent ac3b0ab commit bc35260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/repository/user_group_member.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func (r userGroupMemberRepository) FindByUserGroupId(c context.Context, userGrou
}

func (r userGroupMemberRepository) FindUserIdsByUserGroupId(c context.Context, userGroupId string) (o []string, err error) {
err = r.GetDB(c).Table("user_group_members").Select("users.id").Where("user_group_id = ?", userGroupId).Find(&o).Error
err = r.GetDB(c).Table("user_group_members").Select("user_id").Where("user_group_id = ?", userGroupId).Find(&o).Error
return
}

Expand Down

0 comments on commit bc35260

Please sign in to comment.