Merge branch 'dev' of https://github.com/umami-software/umami into dev
This commit is contained in:
@@ -143,7 +143,7 @@
|
||||
const callback = window[beforeSend];
|
||||
|
||||
if (typeof callback === 'function') {
|
||||
payload = callback(type, payload);
|
||||
payload = await Promise.resolve(callback(type, payload));
|
||||
}
|
||||
|
||||
if (!payload) return;
|
||||
|
||||
Reference in New Issue
Block a user