💡(backend) warm about the token nature of Yprovider microservice

Note to the future myself, using a raw token format is
not common. It should be refactor
This commit is contained in:
lebaudantoine
2024-12-15 18:52:37 +01:00
committed by aleb_the_flash
parent c10808b611
commit 8eb986591a
3 changed files with 3 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ class YdocConverter:
@property
def auth_header(self):
"""Build microservice authentication header."""
# Note: Yprovider microservice accepts only raw token, which is not recommended
return settings.Y_PROVIDER_API_KEY
def convert_markdown(self, text):