Skip to content

Commit 64964c4

Browse files
add read
1 parent 2e2fcf0 commit 64964c4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Payments/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ class Payment {
44
}
55

66
read (id) {
7-
return this.axiosInstance.get(`/payments/${id}`)
7+
return this.axiosInstance.get(`/payments/read/${id}`)
88
}
99

1010
create (params) {
1111
return this.axiosInstance.post('/payments/create', params)
1212
}
1313

14-
delete (id) {
14+
/* delete (id) {
1515
return this.axiosInstance.delete(`/payments/${id}`)
16-
}
16+
}*/
1717
}
1818

1919
module.exports = Payment

0 commit comments

Comments
 (0)