I think this is supposed to work??

This commit is contained in:
jackeilles 2024-02-26 20:29:07 +00:00
parent af502f91b0
commit ca1910df1a
No known key found for this signature in database
GPG key ID: 7822D1CB748879A9

View file

@ -128,7 +128,7 @@ def userInfo(id):
userid = id
# Search for all files from that userID
files = Config.files.find({"userid": userid}, {"_id": False, "ip": False})
files = Config.files.find_many({"userid": userid}, {"_id": False, "ip": False})
list = {}
# Create file listing
@ -145,7 +145,7 @@ def userInfo(id):
})
# Search for all URL's from that userID
url = Config.url.find({"userid": userid})
url = Config.url.find_many({"userid": userid})
# Format all into one JSON
return {