bichnhan2701 commited on
Commit
938a5c7
·
1 Parent(s): 7ef694b

update client update note

Browse files
Files changed (1) hide show
  1. app/services/note_client.py +1 -1
app/services/note_client.py CHANGED
@@ -40,7 +40,7 @@ class NoteServiceClient:
40
  async def update_note(self, note_id: str, payload: dict):
41
  async with httpx.AsyncClient(timeout=30) as client:
42
  r = await client.patch(
43
- f"{NOTE_SERVICE_URL}/internal/notes/{note_id}",
44
  json=payload,
45
  )
46
  r.raise_for_status()
 
40
  async def update_note(self, note_id: str, payload: dict):
41
  async with httpx.AsyncClient(timeout=30) as client:
42
  r = await client.patch(
43
+ f"{NOTE_SERVICE_URL}/notes/{note_id}",
44
  json=payload,
45
  )
46
  r.raise_for_status()