Skip to content

Commit

Permalink
remove initiator permission
Browse files Browse the repository at this point in the history
  • Loading branch information
y-chan committed Nov 10, 2020
1 parent 4d9b2ac commit 01f2237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asns/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ async def get_initiator_info(item: TokenItem, commons: DBCommons = Depends(db_co
token = item.token

status_code = status.HTTP_200_OK
msg = commons.token_status_msg(token, [TokenStatus.INITIATOR, TokenStatus.PARTICIPATOR])
msg = commons.token_status_msg(token, [TokenStatus.PARTICIPATOR])
if msg == ErrorMessages.TOKEN_USED:
msg = None

Expand Down

0 comments on commit 01f2237

Please sign in to comment.