Skip to content

Commit

Permalink
Merge pull request #2130 from GiganticMinecraft/fix/issue2128
Browse files Browse the repository at this point in the history
/gacha removeをすると引数に指定したガチャアイテム以外がすべて削除される不具合の修正
  • Loading branch information
Lucky3028 authored Jun 29, 2023
2 parents ea693a8 + d60642c commit f869ecb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ object System {

override def removeByGachaPrizeId(gachaPrizeId: GachaPrizeId): F[Unit] = for {
_ <- allGachaPrizesListReference.update { prizes =>
prizes.filter(_.id == gachaPrizeId)
prizes.filterNot(_.id == gachaPrizeId)
}
_ <- _gachaPersistence.deleteMineStackGachaObject(gachaPrizeId)
} yield ()
Expand Down

0 comments on commit f869ecb

Please sign in to comment.