From d79a4485a6b1a3ae6b647d94b45ee22a515441f2 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Mon, 29 May 2023 23:25:09 +0200 Subject: Many new api calls --- lib/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/api.js') diff --git a/lib/api.js b/lib/api.js index 1519888..a531980 100644 --- a/lib/api.js +++ b/lib/api.js @@ -9,7 +9,7 @@ let queue = new PriorityQueue(); // a priority queue to hold api calls we want t // send takes a request object as argument and an optional context ctx // example request: { -// endpoint: the url endpoint to call, +// endpoint: the path part of the url to call, // method: HTTP method for `fetch` call, defaults to 'GET', // payload: optional json object that will be send along with the request, // priority: optional priority value (defaults to 10, lower than 10 means the message will be sent faster) -- cgit v1.2.3