Skip to content

Commit

Permalink
Width and Height are mandatory.
Browse files Browse the repository at this point in the history
  • Loading branch information
silasary committed Jun 7, 2018
1 parent 37378d8 commit b27f0df
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions decksite/api.py
Expand Up @@ -144,6 +144,8 @@ def deck_embed(deck_id):
'type': 'rich',
'version': '1.0',
'title': view.page_title(),
'width': 1200,
'height': 500,
'html': template.render(view)
}
return return_json(embed)

0 comments on commit b27f0df

Please sign in to comment.