From 2d7a943eb6a47fe16f699506a3a5993b2798bb66 Mon Sep 17 00:00:00 2001 From: Thorsten Zoerner Date: Thu, 2 Jun 2022 11:35:12 +0200 Subject: [PATCH] Update API.md Corrects documentation ( https://github.com/pm2/tx2/issues/6 ) --- API.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/API.md b/API.md index 18c2570..fb425f6 100644 --- a/API.md +++ b/API.md @@ -48,7 +48,7 @@ tx2.action('run_query', (cb) => { ``` **Example** *(Action with arguments)* ```js -tx2.action('run_query', arg1, (cb) => { +tx2.action('run_query',(arg1,cb) => { cb({ success: arg1 }) }) ```