diff options
| author | jackyzha0 <[email protected]> | 2020-05-16 22:42:48 -0700 |
|---|---|---|
| committer | jackyzha0 <[email protected]> | 2020-05-16 22:42:48 -0700 |
| commit | 712bf925f8ae84a5a2fee87b8aa3c969df48fd50 (patch) | |
| tree | 839a68fe0c96e313a896d0cf0300523da275fac0 /frontend/src/helpers/httpHelper.js | |
| parent | Merge pull request #26 from jackyzha0/raw-button (diff) | |
| download | ctrl-v-712bf925f8ae84a5a2fee87b8aa3c969df48fd50.tar.xz ctrl-v-712bf925f8ae84a5a2fee87b8aa3c969df48fd50.zip | |
allow language saving
Diffstat (limited to 'frontend/src/helpers/httpHelper.js')
| -rw-r--r-- | frontend/src/helpers/httpHelper.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/frontend/src/helpers/httpHelper.js b/frontend/src/helpers/httpHelper.js index 27695d5..28704f5 100644 --- a/frontend/src/helpers/httpHelper.js +++ b/frontend/src/helpers/httpHelper.js @@ -24,6 +24,7 @@ export function PostNewPaste(state) { var bodyFormData = new FormData(); bodyFormData.set('title', state.title); bodyFormData.set('content', state.content); + bodyFormData.set('language', state.language); bodyFormData.set('password', state.pass); bodyFormData.set('expiry', parseExpiry(state.expiry)); |