Skip to content

Commit

Permalink
Merge pull request #92 from ynput/bugfix/fix-secrets-public-functions
Browse files Browse the repository at this point in the history
Fix secrets public function
  • Loading branch information
iLLiCiTiT authored Sep 15, 2023
2 parents 0e7517c + 6a0b20a commit 37e3a43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ayon_api/_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -753,12 +753,12 @@ def get_secrets(*args, **kwargs):

def get_secret(*args, **kwargs):
con = get_server_api_connection()
return con.delete_secret(*args, **kwargs)
return con.get_secret(*args, **kwargs)


def save_secret(*args, **kwargs):
con = get_server_api_connection()
return con.delete_secret(*args, **kwargs)
return con.save_secret(*args, **kwargs)


def delete_secret(*args, **kwargs):
Expand Down

0 comments on commit 37e3a43

Please sign in to comment.