From 6a2cc4cfa787eb3598c8b1da8e5beb87f4dfb182 Mon Sep 17 00:00:00 2001 From: Gauthier Date: Thu, 18 Nov 2021 20:22:38 +0800 Subject: [PATCH] Update README.md Signed-off-by: Gauthier Roebroeck --- plugins/todo/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/todo/README.md b/plugins/todo/README.md index 3e1c370d8a..ad0ad4fc1d 100644 --- a/plugins/todo/README.md +++ b/plugins/todo/README.md @@ -56,7 +56,7 @@ async function main() { // ... const todoEnv = useHotMemoize(module, () => createEnv('todo')); // ... - apiRouter.use('/todo', await kafka(todoEnv)); + apiRouter.use('/todo', await todo(todoEnv)); ``` 3. Add the plugin as a tab to your service entities: