Skip to content

Commit ef8a88e

Browse files
committed
Fix csrf
1 parent 1da9bd8 commit ef8a88e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/javascripts/controllers/sheets_controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class SheetsController extends Controller {
3535
method: "PUT",
3636
headers: {
3737
"Content-Type": "application/json",
38-
"X-CSRF-Token": this.csrf,
38+
"X-CSRF-Token": this.csrf ?? "",
3939
},
4040
})
4141
.then((res) => res.json())

0 commit comments

Comments
 (0)