v0.2
This commit is contained in:
parent
494e0a7cf3
commit
18ce558453
File diff suppressed because it is too large
Load Diff
@ -173,6 +173,8 @@ function get_note_by_title()
|
|||||||
|
|
||||||
# Function to create a new note
|
# Function to create a new note
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function create_new_note()
|
function create_new_note()
|
||||||
|
|
||||||
{
|
{
|
||||||
@ -191,6 +193,7 @@ function create_new_note()
|
|||||||
if [[ $? -ne 0 ]]; then
|
if [[ $? -ne 0 ]]; then
|
||||||
|
|
||||||
echo "Error: Failed to create the note titled $title." >&2
|
echo "Error: Failed to create the note titled $title." >&2
|
||||||
|
echo "[DEBUG] Body content passed to the API: $body" >&2
|
||||||
exit 1
|
exit 1
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user