Skip to content

Commit

Permalink
make it all work
Browse files Browse the repository at this point in the history
  • Loading branch information
frrist committed Feb 24, 2021
1 parent 6a534ec commit c7393e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/apistruct/permissioned.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ func PermissionedFullAPI(a api.FullNode) api.FullNode {
var out FullNodeStruct
auth.PermissionedProxy(AllPermissions, DefaultPerms, a, &out.Internal)
auth.PermissionedProxy(AllPermissions, DefaultPerms, a, &out.CommonStruct.Internal)
auth.PermissionedProxy(AllPermissions, DefaultPerms, a, &out.SentinelStruct.Internal)
return &out
}

Expand Down
1 change: 1 addition & 0 deletions metrics/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ func MetricedFullAPI(a api.FullNode) api.FullNode {
var out apistruct.FullNodeStruct
proxy(a, &out.Internal)
proxy(a, &out.CommonStruct.Internal)
proxy(a, &out.SentinelStruct.Internal)
return &out
}

Expand Down

0 comments on commit c7393e9

Please sign in to comment.