2026-03-04 17:51:09: merge [main:43703e570dc29ccc2c208e50bf41d48c694874f5];
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s
Create and publish a Docker image / build-and-push-image (push) Canceled after 0s
This commit is contained in:
1 parent
e4445eca46
commit
53fc40efe4
3 files changed
+9
-5
No files matched your search
@@ -1,3 +1,5 @@
|
||||
### v5.7.1
|
||||
* Методы `/access_list/get_by_id`, `/access_list/set_list` теперь возвращают `httpMethod`
|
||||
### v5.7.0
|
||||
* Обновлены зависимости
|
||||
* Добавлено поле `http_method` в `access_list`
|
||||
|
||||
@@ -62,8 +62,9 @@ func (s AccessList) GetById(ctx context.Context, appId int) ([]domain.MethodInfo
|
||||
methodInfos := make([]domain.MethodInfo, len(accessList))
|
||||
for i, access := range accessList {
|
||||
methodInfos[i] = domain.MethodInfo{
|
||||
Method: access.Method,
|
||||
Value: access.Value,
|
||||
HttpMethod: access.HttpMethod,
|
||||
Method: access.Method,
|
||||
Value: access.Value,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -154,8 +155,9 @@ func (s AccessList) SetList(ctx context.Context, req domain.AccessListSetListReq
|
||||
methodInfos := make([]domain.MethodInfo, len(accessList))
|
||||
for i, access := range accessList {
|
||||
methodInfos[i] = domain.MethodInfo{
|
||||
Method: access.Method,
|
||||
Value: access.Value,
|
||||
HttpMethod: access.HttpMethod,
|
||||
Method: access.Method,
|
||||
Value: access.Value,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user