Skip to content

Commit

Permalink
use correct methods in public actions
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Sep 15, 2023
1 parent 0e7517c commit 6a0b20a
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 6a0b20a

Please sign in to comment.