inventwithdean commited on
Commit
abae45a
·
1 Parent(s): 18b5344

fix post id formatting

Browse files
Files changed (1) hide show
  1. database.py +1 -1
database.py CHANGED
@@ -70,7 +70,7 @@ class NetworkDB:
70
  )
71
  await conn.close()
72
  if post is not None:
73
- formatted_post = f"Post id: {id}\n{post}"
74
  return formatted_post
75
  return "[Internal Message: No similar post found!]"
76
  except Exception as e:
 
70
  )
71
  await conn.close()
72
  if post is not None:
73
+ formatted_post = f"<|PostId_{id}|>\n{post}"
74
  return formatted_post
75
  return "[Internal Message: No similar post found!]"
76
  except Exception as e: