Skip to content

Commit

Permalink
properly populate the EnvironmentVariable struct
Browse files Browse the repository at this point in the history
  • Loading branch information
felixlut committed Aug 30, 2023
1 parent 5f720d9 commit acda77a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions api/context.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@ import (
// An EnvironmentVariable has a Variable, a ContextID (its owner), and a
// CreatedAt date.
type EnvironmentVariable struct {
Variable string
ContextID string
CreatedAt time.Time
Variable string `json:"variable"`
ContextID string `json:"context_id"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
}

// A Context is the owner of EnvironmentVariables.
Expand Down

0 comments on commit acda77a

Please sign in to comment.