Skip to content

Commit

Permalink
fix: fixes issue #24
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorpirgie authored Apr 4, 2023
1 parent e133e67 commit 0586439
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apis_bibsonomy/api_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@


class SaveBibsonomyEntry(APIView):
permission_classes = [IsAuthenticated] # g.pirgie : this fixes incombatability with projects defining default-drf-permission as 'DjangoObjectPermissions' in settings.py

@staticmethod
def _get_str(entry, key):
if not isinstance(entry, str) and key == "author":
Expand Down

0 comments on commit 0586439

Please sign in to comment.