intersystems / intersystems/FirstLook-REST

newcoffeemaker doesn't return ID

Aperta
#3 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
5
Fork
20
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

In documentation it says that it should return the ID of newly created coffeemaker but it doesn't.

Just add a line when creating status object in NewMaker method of class CoffeeMakerRESTServer... something like:
do:'$$$ISERR(sc) result.%Set("Message","New maker saved with ID: "_cm.%Id())

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.