Skip to content
Snippets Groups Projects
Commit 4ec77e4d authored by Ethan Robert's avatar Ethan Robert
Browse files

Added ':' in API response between name and message

parent a3c7cfa8
No related branches found
No related tags found
No related merge requests found
...@@ -11,4 +11,4 @@ app = FastAPI() ...@@ -11,4 +11,4 @@ app = FastAPI()
@app.get("/") @app.get("/")
def read_root(): def read_root():
with open("message.txt", "r") as file: with open("message.txt", "r") as file:
return getName() + " " + file.read() return getName() + ": " + file.read()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment