Skip to content

Commit

Permalink
chore(internal): remove offset
Browse files Browse the repository at this point in the history
  • Loading branch information
PhearZero committed Nov 26, 2024
1 parent b89bb06 commit d6b8708
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ var (
err)
}
state := internal.StateModel{
Offset: viper.GetInt("offset"),
Status: internal.StatusModel{
State: "INITIALIZING",
Version: "NA",
Expand Down
3 changes: 1 addition & 2 deletions internal/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ type StateModel struct {
ParticipationKeys *[]api.ParticipationKey

// Application State
Admin bool
Offset int
Admin bool

// TODO: handle contexts instead of adding it to state
Watching bool
Expand Down

0 comments on commit d6b8708

Please sign in to comment.