Skip to content

Commit

Permalink
Fix mismatched names
Browse files Browse the repository at this point in the history
  • Loading branch information
RyanLua authored Jul 23, 2024
1 parent e6699b9 commit 766a237
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/instawebhooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ def create_webhook_json(post: Post):
"content": "",
"embeds": [
{
"title": post.owner_username,
"title": post.owner_profile.full_name,
"description": post.caption,
"url": "https://instagram.com/p/" + post.shortcode + "/",
"color": 13500529,
"timestamp": post.date.strftime("%Y-%m-%dT%H:%M:%S"),
"author": {
"name": post.owner_profile.full_name,
"name": post.owner_username,
"url": "https://www.instagram.com/" + post.owner_username + "/",
"icon_url": post.owner_profile.profile_pic_url
},
Expand Down

0 comments on commit 766a237

Please sign in to comment.