cw now used

This commit is contained in:
Andrzej Stepien 2023-08-13 15:32:49 +02:00
parent 567e8bed9e
commit cb79fa1871
2 changed files with 2 additions and 1 deletions

View File

@ -16,6 +16,7 @@ export default async function createNote(text) {
logger.trace("createNote called") logger.trace("createNote called")
const body = { const body = {
text: text, text: text,
cw:"Today's #micro365 prompt is:"
} }
try { try {
const response = await firefish.post("notes/create",body) const response = await firefish.post("notes/create",body)

View File

@ -17,7 +17,7 @@ export default function makeText(prompt) {
const word = prompt.word const word = prompt.word
const pronunciation = prompt.pronunciation const pronunciation = prompt.pronunciation
let text = "Today's #micro365 prompt is:\n<small><small><small># </small></small></small>$[x2 $[font.serif **" + word + "**]]\n" let text = "<small><small><small># </small></small></small>$[x2 $[font.serif **" + word + "**]]\n"
+ pronunciation + "\n" + pronunciation + "\n"