mirror of
https://github.com/arcan1s/ffxivbis.git
synced 2025-04-25 01:37:17 +00:00
do not take default argument
This commit is contained in:
parent
4d12cbc1c1
commit
cc9572df23
@ -7,7 +7,7 @@ import me.arcanis.ffxivbis.models.Loot
|
|||||||
|
|
||||||
case class LootResponse(
|
case class LootResponse(
|
||||||
@Schema(description = "looted piece", required = true) piece: PieceResponse,
|
@Schema(description = "looted piece", required = true) piece: PieceResponse,
|
||||||
@Schema(description = "loot timestamp", required = true) timestamp: Instant = Instant.now) {
|
@Schema(description = "loot timestamp", required = true) timestamp: Instant) {
|
||||||
def toLoot: Loot = Loot(-1, piece.toPiece, timestamp)
|
def toLoot: Loot = Loot(-1, piece.toPiece, timestamp)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user