Skip to content

Commit

Permalink
fix - add forgotten YAML annotations to Tutorial struct
Browse files Browse the repository at this point in the history
  • Loading branch information
iximiuz committed Jul 8, 2024
1 parent 70e8573 commit f7c6a17
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions internal/api/tutorials.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import (
)

type Tutorial struct {
CreatedAt string `json:"createdAt"`
UpdatedAt string `json:"updatedAt"`
CreatedAt string `json:"createdAt" yaml:"createdAt"`
UpdatedAt string `json:"updatedAt" yaml:"updatedAt"`

Name string `json:"name"`
Name string `json:"name" yaml:"name"`

PageURL string `json:"pageUrl"`
PageURL string `json:"pageUrl" yaml:"pageUrl"`
}

var _ content.Content = (*Tutorial)(nil)
Expand Down

0 comments on commit f7c6a17

Please sign in to comment.