Skip to content

Commit 07e8dd7

Browse files
committed
end photoshop hook url with a slash. Bump to version 0.2.3
1 parent a3382b8 commit 07e8dd7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

figure/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

22

3-
__version__ = "0.2.2"
3+
__version__ = "0.2.3"
44

55
token = None
66
api_base = 'https://api.figure.co'

figure/resource.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ def get_all_public(cls, token=None, **params):
139139
@classmethod
140140
def photoshop_hook(cls, code, token=None, **params):
141141
requestor = api_requestor.APIRequestor(token)
142-
url = '%s%s' % (cls.instance_url(code), 'photoshop_hook')
142+
url = '%sphotoshop_hook/' % cls.instance_url(code)
143143
return requestor.request('post', url, **params)
144144

145145

0 commit comments

Comments
 (0)