Method
del
* 删除 msg * @param {Number} msgId * @return {Promise}
(msgId)
Source from the content-addressed store, hash-verified
| 58 | * @return {Promise} |
| 59 | */ |
| 60 | del (msgId) { |
| 61 | return xhr({ |
| 62 | method: 'delete', |
| 63 | url: `/msg/${msgId}` |
| 64 | }) |
| 65 | } |
| 66 | |
| 67 | } |
| 68 | |
Tested by
no test coverage detected