This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wifi-menu | |
ping www.google.com | |
# setup disk partitions | |
cfdisk. | |
# format disk partitions | |
lsblk /dev/sda | |
mkfs.ext4 /dev/sda1 | |
mkfs.ext4 /dev/sda2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun addBloodlineToCharacter(characterId: String, bloodlineId: String): CharacterOutput? { | |
val character: CharacterDocument = characterRepository.findById(characterId) | |
updatedCharacter = characterRepository.save(character.override(_bloodlineId = bloodlineId)) | |
updatedCharacter.asOutput() | |
} | |
fun CharacterDocument.override( | |
_name: String = this.name, | |
_age: Short = this.age, | |
_bloodlineId: String? = this.bloodlineId, |