Add/Edit request works

No longer a modal (#20)
This commit is contained in:
Daniel J. Summers
2018-08-17 20:59:57 -05:00
parent c0dd6b5dd6
commit d3aff4a110
8 changed files with 135 additions and 85 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ export default {
* Add a new prayer request
* @param {string} requestText The text of the request to be added
*/
addRequest: requestText => http.post('request', { requestText }),
addRequest: requestText => http.post('request', { requestText, recurType: 'immediate' }),
/**
* Get all answered requests, along with the text they had when it was answered