mirror of
https://github.com/jackeilles/xygt.git
synced 2025-02-21 11:39:00 +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
|
userid = id
|
||||||
|
|
||||||
# Search for all files from that userID
|
# 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 = {}
|
list = {}
|
||||||
|
|
||||||
# Create file listing
|
# Create file listing
|
||||||
|
@ -145,7 +145,7 @@ def userInfo(id):
|
||||||
})
|
})
|
||||||
|
|
||||||
# Search for all URL's from that userID
|
# 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
|
# Format all into one JSON
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Add table
Reference in a new issue