Skip to content

Commit 69c5ea5

Browse files
committed
/categorize is equivelant to /cagtegorization
1 parent 6796bbb commit 69c5ea5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scaleapi/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def tasks(self, **kwargs):
114114

115115

116116
def _AddTaskTypeCreator(name):
117-
endpoint = 'task/' + ('categorize' if name == 'categorization' else name)
117+
endpoint = 'task/' + name
118118
def createTask(self, **kwargs):
119119
taskdata = self._postrequest(endpoint, payload=kwargs)
120120
return Task(taskdata, self)

0 commit comments

Comments
 (0)