intersystems / intersystems/FirstLook-REST

newcoffeemaker doesn't return ID

Đang mở
#3 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
5
Fork
20
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.