Skip to content

Commit

Permalink
small doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wmelder committed Jul 19, 2024
1 parent 4d7bac4 commit 3f285b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apis/resource/resource_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def check_for_wemi_postfix(self, identifier: str) -> tuple[int, str]:
Always returns the DAAN ID without postfix or raises ValueError when
an unvalid postfix was found.
:param identifier: string with the DAAN ID, incl. postfix or without.
:returns: tuple containing 'status_code' 302 when postfix is included or 0,
:returns: tuple containing 'status_code' 302 when postfix is included or 200,
and 'identifier', always the DAAN ID without postfix."""
status_code = 200
identifier_list = identifier.split("_", 1)
Expand Down

0 comments on commit 3f285b5

Please sign in to comment.