summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/samples/store-nosql/fruits-catalog.scm
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/samples/store-nosql/fruits-catalog.scm')
-rw-r--r--sca-cpp/trunk/samples/store-nosql/fruits-catalog.scm5
1 files changed, 1 insertions, 4 deletions
diff --git a/sca-cpp/trunk/samples/store-nosql/fruits-catalog.scm b/sca-cpp/trunk/samples/store-nosql/fruits-catalog.scm
index d79ff1b677..1e84fc7d5e 100644
--- a/sca-cpp/trunk/samples/store-nosql/fruits-catalog.scm
+++ b/sca-cpp/trunk/samples/store-nosql/fruits-catalog.scm
@@ -17,7 +17,7 @@
; Catalog implementation
-(define (get converter currencyCode)
+(define (getcatalog converter currencyCode)
(define code (currencyCode))
(define (convert price) (converter "convert" "USD" code price))
(define symbol (converter "symbol" code))
@@ -28,6 +28,3 @@
)
)
-; TODO remove these JSON-RPC specific functions
-(define (listMethods converter currencyCode) (list "Service.get"))
-