diff --git a/.env.example b/.env.example index c8ea6475..1752a815 100644 --- a/.env.example +++ b/.env.example @@ -3,5 +3,5 @@ # APP_NAME=littr -APP_VERSION=0.40.8 +APP_VERSION=0.40.9 GOLANG_VERSION=1.23 diff --git a/api/swagger.json b/api/swagger.json index 6805130f..db06e80f 100644 --- a/api/swagger.json +++ b/api/swagger.json @@ -13,7 +13,7 @@ "name": "MIT", "url": "https://github.com/krustowski/littr/blob/master/LICENSE" }, - "version": "0.40.8" + "version": "0.40.9" }, "host": "www.littr.eu", "basePath": "/api/v1", diff --git a/pkg/backend/router.go b/pkg/backend/router.go index 0f2fbe8b..30a92252 100644 --- a/pkg/backend/router.go +++ b/pkg/backend/router.go @@ -1,5 +1,5 @@ // @title littr -// @version 0.40.8 +// @version 0.40.9 // @description a simple nanoblogging platform as PWA built on go-app framework // @termsOfService https://littr.eu/tos diff --git a/pkg/frontend/users.go b/pkg/frontend/users.go index 15f4668c..7292617b 100644 --- a/pkg/frontend/users.go +++ b/pkg/frontend/users.go @@ -627,7 +627,7 @@ func (c *usersContent) onClickAllow(ctx app.Context, e app.Event) { input := callInput{ Method: "PATCH", - Url: "/api/v1/users/" + c.user.Nickname + "/request", + Url: "/api/v1/users/" + c.user.Nickname + "/lists", Data: payload, CallerID: c.user.Nickname, PageNo: 0, @@ -667,7 +667,7 @@ func (c *usersContent) onClickAllow(ctx app.Context, e app.Event) { input2 := callInput{ Method: "PATCH", - Url: "/api/v1/users/" + c.user.Nickname + "/lists", + Url: "/api/v1/users/" + nick + "/lists", Data: payload2, CallerID: c.user.Nickname, PageNo: 0,