Correcting times I really messed that part up :O
This commit is contained in:
@@ -2,6 +2,7 @@ package repository
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"git.hrafn.xyz/aether/notes/internal/models"
|
||||
)
|
||||
@@ -20,6 +21,7 @@ func (r *NoteRepository) CreateNote(content string) (models.Note, error) {
|
||||
}
|
||||
note := models.Note{
|
||||
Content: content,
|
||||
LastUpdate: time.Now(),
|
||||
}
|
||||
return r.store.SaveNote(note)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user