mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-23 18:41:48 -08:00
fix(Mattermost Node): Fix issue when fetching reactions (#9375)
This commit is contained in:
parent
82c8801f25
commit
78e7c7a9da
|
@ -15,6 +15,9 @@ export async function getAll(
|
|||
const body = {} as IDataObject;
|
||||
|
||||
let responseData = await apiRequest.call(this, requestMethod, endpoint, body, qs);
|
||||
if (responseData === null) {
|
||||
return [];
|
||||
}
|
||||
if (limit > 0) {
|
||||
responseData = responseData.slice(0, limit);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue