mirror of
https://github.com/formbricks/formbricks.git
synced 2026-04-22 02:55:04 -05:00
fix: error wrapper (#1937)
This commit is contained in:
@@ -58,7 +58,7 @@ export class CommandQueue {
|
||||
if (!result) continue;
|
||||
|
||||
if (result.ok) {
|
||||
if (!result.data.ok) {
|
||||
if (result.data && !result.data.ok) {
|
||||
errorHandler.handle(result.data.error);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user