diff src/lib/User.luan @ 10:de0cbf515ef5

remove author_id
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 30 Jun 2022 11:11:00 -0600
parents be36282b556a
children 298c71e0c854
line wrap: on
line diff
--- a/src/lib/User.luan	Thu Jun 30 00:02:28 2022 -0600
+++ b/src/lib/User.luan	Thu Jun 30 11:11:00 2022 -0600
@@ -64,11 +64,6 @@
 	return user
 end
 
-function User.get_by_id(id)
-	local doc = Db.get_document("id:"..id)
-	return doc and User.from_doc(doc)
-end
-
 function User.get_by_email(email)
 	local doc = Db.get_document("user_email:"..lucene_quote(email))
 	return doc and from_doc(doc)