diff --git a/spiffworkflow-backend/src/spiffworkflow_backend/services/secret_service.py b/spiffworkflow-backend/src/spiffworkflow_backend/services/secret_service.py index cd8a28fd9..f7c20e86c 100644 --- a/spiffworkflow-backend/src/spiffworkflow_backend/services/secret_service.py +++ b/spiffworkflow-backend/src/spiffworkflow_backend/services/secret_service.py @@ -47,8 +47,8 @@ class SecretService: ) from e return secret_model - @classmethod - def get_secret(cls, key: str) -> SecretModel: + @staticmethod + def get_secret(key: str) -> SecretModel: """Get_secret.""" secret = db.session.query(SecretModel).filter(SecretModel.key == key).first() if isinstance(secret, SecretModel):