Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

Commit 5725cc8

Browse files
committed
Make module compatible with python 3.4
1 parent 53a115e commit 5725cc8

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use a custom domain and fields for generate links for android and ios.
66

77
### Requirements
88

9-
* Python >= 3.6
9+
* Python >= 3.4
1010
* PIP
1111
* API Key from [Firebase console Settings page](https://console.firebase.google.com/project/_/settings/general/).
1212

firebase_dynamic_links/dynamic_links.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ def generate_dynamic_link(self, link, short=True, params={}):
1616
payload = {
1717
"dynamicLinkInfo": {
1818
"domainUriPrefix": self.domain,
19-
"link": link,
20-
**params
19+
"link": link
2120
},
2221
"suffix": {
2322
"option": "SHORT" if short else "UNGUESSABLE"
2423
}
2524
}
25+
payload['dynamicLinkInfo'].update(params)
2626

2727
response = requests.post(self.api_url, json=payload, timeout=self.timeout)
2828

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setup(
77
name="py-firebase-dynamic-links",
8-
version="1.0.0",
8+
version="1.0.1",
99
author="Daniel Vilar Peiteado",
1010
author_email="[email protected]",
1111
description="Python client for Firebase Dynamic Links API",

0 commit comments

Comments
 (0)