BinaryONe commited on
Commit
01ce642
·
1 Parent(s): 36e3ca7

DB Pos changes

Browse files
Files changed (1) hide show
  1. FileStream/Database/database.py +1 -1
FileStream/Database/database.py CHANGED
@@ -162,7 +162,7 @@ class Database:
162
 
163
 
164
  # ---------------------[ FIND FILE IN DB for Bot and APIs]---------------------#
165
- async def get_file(self, _id, privacy_type:str ):
166
  try:
167
  file_info = await self.files.find_one({"_id": ObjectId(_id)})
168
  if not file_info:
 
162
 
163
 
164
  # ---------------------[ FIND FILE IN DB for Bot and APIs]---------------------#
165
+ async def get_file(self, _id):
166
  try:
167
  file_info = await self.files.find_one({"_id": ObjectId(_id)})
168
  if not file_info: