luoyangwei 1 жил өмнө
parent
commit
910016f9f1

+ 1 - 1
repositories/session_repositroy.go

@@ -109,7 +109,7 @@ func (repo *sessionRepository) GetJoinedSessions(ctx context.Context, accountId
 
 	err = repo.source.WithContext(ctx).Where("id in (?)", repo.source.
 		WithContext(ctx).
-		Select("session_id").
+		Select("receiver").
 		Where(&models.SessionMember{RefId: accountId}).Table("tb_session_member")).Find(&sessions).Error
 	switch {
 	case err == nil: