diff --git a/files/routes/posts.py b/files/routes/posts.py index 6d7cc9365..250cdf470 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -840,7 +840,7 @@ def submit_post(v): req = requests.post('https://catbox.moe/user/api.php', data={'userhash':CATBOX_KEY, 'reqtype':'fileupload'}, files={'fileToUpload':f}) print(req) print(req.text) - new_post.post_url = req.text + new_post.url = req.text g.db.add(new_post)