intersystems / intersystems/FirstLook-REST

newcoffeemaker doesn't return ID

Open
#3 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5
Forks
20
PR merge metrics
No merged PRs in 30d

Description

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())

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.