Skip to content

Commit

Permalink
[usage] fix usage export (#19127)
Browse files Browse the repository at this point in the history
  • Loading branch information
svenefftinge authored Nov 23, 2023
1 parent f9e6a63 commit ce1e770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/usage/pkg/apiv1/usage.go
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ func newUsageFromInstance(instance db.WorkspaceInstanceForUsage, pricer *Workspa
}

draft := true
if stopTime.IsSet() {
if instance.StoppedTime.IsSet() {
draft = false
}

Expand Down

0 comments on commit ce1e770

Please sign in to comment.