"Mark Prayed" works

This commit is contained in:
Daniel J. Summers
2017-09-22 22:30:00 -05:00
parent c703d717d8
commit 181dc5ea63
9 changed files with 127 additions and 87 deletions
+6 -1
View File
@@ -35,6 +35,11 @@ export default {
* Mark a prayer request as having been prayed
* @param {string} requestId The Id of the request
*/
markPrayed: requestId => http.post('request/${requestId}/history', { status: 'Prayed', updateText: '' })
markPrayed: requestId => http.post(`request/${requestId}/history`, { status: 'Prayed', updateText: '' }),
/**
* Get a prayer request
*/
getPrayerRequest: requestId => http.get(`request/${requestId}`)
}