Skip to content

Commit 116baf5

Browse files
Merge pull request #38 from ariebrainware/develop
Patch Release v1.1.2
2 parents e46a574 + b431cca commit 116baf5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ Pay your bill easily!
2828
| /user/signout | GET | Sign out user or logout |
2929
| /user-paylist/:id | PUT | Update user-paylist status(complete or not) |
3030
| /users/refresh-token | POST | Refresh Expired Token |
31+
| /editpassword/:id | PUT | Handling user change password |
32+
| /addsaldo | POST | Add User Balance |
3133

3234

3335
## Database Design

main.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,15 @@ func main() {
3636
{Method: "PUT", URL: "/user-paylist/:id", Description: "Update User-Paylist by ID"},
3737
{Method: "GET", URL: "/user/signout", Description: "Sign Out / Logout"},
3838
{Method: "POST", URL: "/users/refresh-token", Description: "Refresh Expired Token"},
39+
{Method: "PUT", URL: "/editpassword/:id", Description: "Edit user password"},
40+
{Method: "PUT", URL: "/status/:id", Description: "Update user-paylist status"},
41+
{Method: "POST", URL: "/addsaldo", Description: "Add User Saldo"},
3942
}
4043

4144
router.GET("/", func(c *gin.Context) {
4245
util.CallSuccessOK(c, "Paylist-API available endpoint", listEndpoint)
4346
})
44-
47+
4548
router.GET("/paylist", ep.Auth, ep.FetchAllPaylist)
4649
router.GET("/paylist/:id", ep.Auth, ep.FetchSinglePaylist)
4750
router.POST("/paylist", ep.Auth, ep.CreateUserPaylist)

0 commit comments

Comments
 (0)