mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
fix(Mattermost Node): Fix issue when fetching reactions (#9375)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user