Skip to content

Commit b3e4bc5

Browse files
committed
Fix typo
1 parent cbaba5b commit b3e4bc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def obj_create(self, bundle, request=None, **kwargs):
2828

2929
class LeagueResource(ModelResource):
3030
class Meta:
31-
queryset = Team.objects.all()
31+
queryset = League.objects.all()
3232
allowed_methods = ['get', 'post', 'put']
3333
authentication = ApiKeyAuthentication()
3434
authorization = Authorization()

0 commit comments

Comments
 (0)