mirror of
https://github.com/jashkenas/backbone.git
synced 2026-01-24 22:37:58 -05:00
Fix typo
This commit is contained in:
@@ -982,7 +982,7 @@
|
||||
|
||||
// Ensure that we have the appropriate request data.
|
||||
if (!params.data && model && (method == 'create' || method == 'update')) {
|
||||
params.contentType = 'application/json',
|
||||
params.contentType = 'application/json';
|
||||
params.data = JSON.stringify(model.toJSON());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user