summaryrefslogtreecommitdiff
path: root/internal/types
diff options
context:
space:
mode:
Diffstat (limited to 'internal/types')
-rw-r--r--internal/types/entry.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/types/entry.go b/internal/types/entry.go
index fd1e12a..73ef0d2 100644
--- a/internal/types/entry.go
+++ b/internal/types/entry.go
@@ -157,7 +157,7 @@ func (e Entry) Update(other Entry) (Entry, error) {
return e, nil
}
-func (e Entry) Serialize() ([]byte, error) {
+func (e Entry) JSONBytes() ([]byte, error) {
return json.Marshal(e)
}