Skip to content

Commit

Permalink
chore: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
MuZhou233 committed Dec 21, 2023
1 parent 4d6e9a7 commit 545ffe1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/sephirah/internal/data/gebura.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,12 @@ func (g geburaRepo) GetBatchBoundApps(ctx context.Context, ids []model.InternalI
}
}
}
if res[i].Internal == nil {
res[i].Internal = new(modelgebura.App)
}
if res[i].Steam == nil {
res[i].Steam = new(modelgebura.App)
}
}
return res, nil
}
Expand Down

0 comments on commit 545ffe1

Please sign in to comment.