Skip to content

Commit e893dc8

Browse files
committed
perf(cas): simpler fields extraction selector
1 parent 541817d commit e893dc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cas/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export class PendingAuth {
102102
private extractFields(): void {
103103
this.fields = {};
104104

105-
this.document("form").find("input[type=hidden]").each((_, input) => {
105+
this.document("form input[type=hidden]").each((_, input) => {
106106
const key = input.attribs.name;
107107
const value = input.attribs.value || "";
108108

0 commit comments

Comments
 (0)