setup local:
- start ngrok
./ngrok http 3000 - change env-dev.env
PUBSUB_PUSH_ENDPOINT=https://299836d986cf.ngrok.io/copper - start emulator
firebase emulators:start - create topicmutation {createPubSubTopic(topicName: "copper")
- create subscriptionmutation {createPubSubPushSubscription(topicName: "copper"subscriptionName: "sub_push_copper")}
- run mutation: mutation {changeListingStatus(input: {listingId: "hnWkg6i3vVtyohzVncpfr7"listingStatus: "SOLD"closingDate: "12/12/2020"soldPrice: "300000"buyerName: "John doe"agentName: "John A"agentOffice: "Agent Corp"titleCompany: "Title Corp"escrowCompany: "E Corp"}) {success}}
Comments
Post a Comment