1. Daniel Greenfeld
  2. transifex

Commits

Seraphim Mellos  committed 854313a

API fix for a resource's available_languages

  • Participants
  • Parent commits 8261de3
  • Branches default

Comments (0)

Files changed (1)

File transifex/resources/api.py

View file
  • Ignore whitespace
             try:
                 resource = Resource.objects.get(slug=resource_slug,
                     project__slug=project_slug)
-                setattr(resource, 'available_languages',
-                    resource.available_languages_without_teams)
             except Resource.DoesNotExist:
                 return rc.NOT_FOUND
             return resource