fix(api tokens): make sure read one routes show up in routes endpoint
This commit is contained in:
parent
e3c5a93f4f
commit
14c5a8ca5b
@ -89,7 +89,7 @@ func CollectRoutesForAPITokenUsage(route echo.Route) {
|
||||
Method: route.Method,
|
||||
}
|
||||
}
|
||||
if strings.Contains(route.Name, "ReadWeb") {
|
||||
if strings.Contains(route.Name, "ReadOneWeb") {
|
||||
apiTokenRoutes[routeGroupName].ReadOne = &RouteDetail{
|
||||
Path: route.Path,
|
||||
Method: route.Method,
|
||||
|
Loading…
x
Reference in New Issue
Block a user