Skip to content

Commit

Permalink
docs: change some NOTEs to TODOs
Browse files Browse the repository at this point in the history
  • Loading branch information
hacdias committed Feb 9, 2025
1 parent 3f6e774 commit 57182fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ type ServerConfig struct {
PublicDirectory string
DataDirectory string
Port int
BaseURL string // NOTE: maybe use the one from [SiteConfig].
BaseURL string // TODO: maybe use the one from [SiteConfig].
TokensSecret string
WebhookSecret string
Tor bool
Expand Down
2 changes: 1 addition & 1 deletion server/micropub.go
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ func (m *micropubServer) updateEntryWithProps(e *core.Entry, newProps map[string
// NOTE: this ensures that things that were arrays stay as arrays. However,
// I should probably improve this such that there is a list of properties
// to keep as arrays and others as non-arrays.
// Maybe indielib/microformats.propertyToType properties should always be
// TODO: Maybe indielib/microformats.propertyToType properties should always be
// single, the rest always arrays.
if newValue, ok := properties[key]; ok {
if oldValue, ok := e.Other[key]; ok {
Expand Down

0 comments on commit 57182fd

Please sign in to comment.