Skip to content

Commit

Permalink
Rename created_at to createdAt
Browse files Browse the repository at this point in the history
  • Loading branch information
ecanuto committed Aug 12, 2020
1 parent 947f021 commit 9e4306c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Binaries for programs and plugins
urler
pequi
*.exe
*.exe~
*.dll
Expand Down
4 changes: 2 additions & 2 deletions pkg/store/firestore.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ func (d *firestoreDriver) put(slug string, url string) error {

// Save data
return tx.Set(ref, map[string]interface{}{
"url": url,
"created_at": firestore.ServerTimestamp,
"url": url,
"createdAt": firestore.ServerTimestamp,
})
})

Expand Down

0 comments on commit 9e4306c

Please sign in to comment.