File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -398,9 +398,6 @@ export default {
398398 // 3. Prepare content
399399 const title = metaData ?.title || " LiaScript Course" ;
400400
401- // Format content as markdown with header
402- const fullContent = ` # ${title }\n\n ${contentData } ` ;
403-
404401 // 4. Create the event (NIP-33 parameterized replaceable event)
405402 const event = {
406403 kind: 30023 , // Long-form content
@@ -412,7 +409,7 @@ export default {
412409 [" summary" , metaData ?.description || " LiaScript course material" ],
413410 ... this .tags .map ((tag ) => [" t" , tag ]),
414411 ],
415- content: fullContent ,
412+ content: contentData ,
416413 };
417414
418415 // 5. If user has provided private key, sign and publish
@@ -439,9 +436,10 @@ export default {
439436 kind: 30023 ,
440437 pubkey: pubkey ,
441438 identifier: this .storageId ,
439+ relays: relays ,
442440 });
443441
444- console .log (" Published as naddr:" , naddr );
442+ console .log (" Published as naddr:" , " nostr: " + naddr );
445443
446444 // Success!
447445 this .step = " success" ;
You can’t perform that action at this time.
0 commit comments