mirror of
https://github.com/wassname/talk.git
synced 2026-07-16 11:22:16 +08:00
Fixed capital
This commit is contained in:
@@ -18,7 +18,7 @@ const buildOptions = (inputOptions = {}) => {
|
||||
|
||||
if (options._csrf) {
|
||||
switch (options.method.toLowerCase()) {
|
||||
case 'POST':
|
||||
case 'post':
|
||||
case 'put':
|
||||
case 'delete':
|
||||
options.headers['x-csrf-token'] = options._csrf;
|
||||
|
||||
Reference in New Issue
Block a user