Skip to content

Commit

Permalink
Defaulted phase shiny found page to have captured be checked.
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMrDew committed Aug 18, 2024
1 parent 08ba7a1 commit 0294a69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Pokedex/Pokedex/Controllers/ShinyHuntController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,7 @@ public IActionResult PhaseShinyFound(int shinyHuntId)
PokemonHunted = pokemon,
GameHuntedIn = this.dataService.GetObjectByPropertyValue<Game>("Id", shinyHunt.GameId),
DateOfCapture = DateTime.Now.Date,
IsCaptured = true,
AllPokemon = pokemonList,
AllPokeballs = this.dataService.GetPokeballs(shinyHunt.GameId, shinyHunt.HuntingMethodId, this.User, this.appConfig),
AllGenders = genders,
Expand Down
2 changes: 1 addition & 1 deletion Pokedex/Pokedex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"scripts": {
"build": "npm run remove-build-folders && npm run build-app && npm run copy-to-dist && npm run minify && echo Done!",
"build-app": "dotnet publish --configuration Release",
"build-app": "dotnet publish Pokedex.generated.sln -c Release",
"clean-build": "npm run remove-build-folders && dotnet build",
"copy-to-dist": "npx kpy bin/Release/netcoreapp3.1/publish/ ** !package.json !package-lock.json !stylecop.json .dist",
"database-update": "npm run remove-build-folders && dotnet ef database update -p ..\\Pokedex.DataAccess\\Pokedex.DataAccess.csproj -c DataContext",
Expand Down

0 comments on commit 0294a69

Please sign in to comment.