Skip to content

Commit

Permalink
Issue an NPS refresh before issuing any status
Browse files Browse the repository at this point in the history
  • Loading branch information
albireox committed Nov 24, 2023
1 parent baa45aa commit 7047797
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## 1.0.2

### 🔧 Fixed

* Issue an NPS refresh before issuing any status.


## 1.0.1 - November 24, 2023

### ✨ Improved
Expand Down
1 change: 1 addition & 0 deletions src/lvmnps/actor/commands/status.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ async def status(command: NPSCommand):

nps = command.actor.nps

await nps.refresh()
command.info(nps_type=nps.nps_type)
command.info(outlet_names=list(nps.outlets))

Expand Down

0 comments on commit 7047797

Please sign in to comment.