mirror of
https://github.com/abhay-raizada/PeerScribe.git
synced 2026-04-26 16:24:03 +00:00
Add different forms
This commit is contained in:
@@ -204,7 +204,7 @@ export const PrescriptionCreator = () => {
|
||||
const finalEvent = finalizeEvent(baseKind4Event, sk);
|
||||
const pool = new SimplePool();
|
||||
console.log('publishing event');
|
||||
await Promise.any(pool.publish(selectedPharmacyRelays, finalEvent));
|
||||
await Promise.allSettled(pool.publish(selectedPharmacyRelays, finalEvent));
|
||||
console.log('Event Published');
|
||||
Alert.alert('Prescription Sent to the pharmacy!');
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user