Merge branch 'MSP-7322' into 'main'

Resolve MSP-7322

Closes MSP-7322

See merge request isp/isp-system-service!16
This commit is contained in:
Синельник Тимур Романович committed 2026-03-04 17:48:55 +03:00
commit 43703e570d
3 files changed
+9 -5

No files matched your search

+1 -1
View File
@@ -1 +1 @@
5.7.0
5.7.1
+2
View File
@@ -1,3 +1,5 @@
### v5.7.1
* Методы `/access_list/get_by_id`, `/access_list/set_list` теперь возвращают `httpMethod`
### v5.7.0
* Обновлены зависимости
* Добавлено поле `http_method` в `access_list`
+6 -4
View File
@@ -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,
}
}