Skip to content

Commit

Permalink
Fixes service code (#138)
Browse files Browse the repository at this point in the history
Fixes #137
  • Loading branch information
jamesmontemagno authored Jun 19, 2024
1 parent 3323a2c commit e89f1d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Finish/MonkeyFinder/Services/MonkeyService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ public async Task<List<Monkey>> GetMonkeys()
}

// Offline
using var stream = await FileSystem.OpenAppPackageFileAsync("monkeydata.json");
/*using var stream = await FileSystem.OpenAppPackageFileAsync("monkeydata.json");
using var reader = new StreamReader(stream);
var contents = await reader.ReadToEndAsync();
monkeyList = JsonSerializer.Deserialize(contents, MonkeyContext.Default.ListMonkey);
monkeyList = JsonSerializer.Deserialize(contents, MonkeyContext.Default.ListMonkey);*/

return monkeyList;
}
Expand Down

0 comments on commit e89f1d2

Please sign in to comment.