Skip to content

Commit

Permalink
Update notebook to show the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
IonesioJunior committed Jul 31, 2024
1 parent 11fe274 commit f203c63
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions notebooks/api/0.8/13-forgot-user-password.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,27 @@
]
},
{
"cell_type": "markdown",
"cell_type": "code",
"execution_count": null,
"id": "8",
"metadata": {},
"outputs": [],
"source": [
"res"
]
},
{
"cell_type": "markdown",
"id": "9",
"metadata": {},
"source": [
"### Admin generates a temp token"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "9",
"id": "10",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -113,12 +123,12 @@
")\n",
"\n",
"if not isinstance(temp_token, str):\n",
" raise Exception(f\"temp_token isn't a string, its {res}\")"
" raise Exception(f\"temp_token isn't a string, its {temp_token}\")"
]
},
{
"cell_type": "markdown",
"id": "10",
"id": "11",
"metadata": {},
"source": [
"### User use this token to reset password"
Expand All @@ -127,7 +137,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "11",
"id": "12",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -140,7 +150,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "12",
"id": "13",
"metadata": {},
"outputs": [],
"source": [
Expand Down

0 comments on commit f203c63

Please sign in to comment.