aboutsummaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorjackyzha0 <[email protected]>2020-05-09 14:32:24 -0700
committerjackyzha0 <[email protected]>2020-05-09 14:32:24 -0700
commitc9019b70c1f1828b197a4ae2595b87592cb256d9 (patch)
treee500671c1422bc7a99a122e9003ac6c660949757 /db
parentworking mongo doc add (diff)
downloadctrl-v-c9019b70c1f1828b197a4ae2595b87592cb256d9.tar.xz
ctrl-v-c9019b70c1f1828b197a4ae2595b87592cb256d9.zip
ip changes and remove some debug
Diffstat (limited to 'db')
-rw-r--r--db/mongo.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/db/mongo.go b/db/mongo.go
index 1c694e7..83e71f7 100644
--- a/db/mongo.go
+++ b/db/mongo.go
@@ -40,7 +40,6 @@ func initSessions(user, pass, ip string) {
}
func insert(new Paste) error {
- log.Infof("new paste struct: %+v", new)
return pastes.Insert(new)
}