Skip to content

Commit 083e8c4

Browse files
committed
fixed variable passing issue
1 parent e74ca08 commit 083e8c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const generateSignatureToken = (options: ImageKitOptions & { authenticati
9090
try {
9191
var error = JSON.parse(xhr.responseText);
9292
var result = addResponseHeadersAndBody(error, xhr);
93-
respond(true, error, callback);
93+
respond(true, result, callback);
9494
} catch (ex) {
9595
respond(true, ex, callback);
9696
}

0 commit comments

Comments
 (0)