mirror of
https://github.com/jackeilles/xygt.git
synced 2024-11-08 16:02:37 +01:00
I think this is supposed to work??
This commit is contained in:
parent
af502f91b0
commit
ca1910df1a
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue