Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/APIParkLab/APIPark
/ ToApprovalType
Function
ToApprovalType
service/service/model.go:100–109 ·
view source on GitHub ↗
(s int)
Source
from the content-addressed store, hash-verified
98
}
99
100
func
ToApprovalType(s int) ApprovalType {
101
switch
s {
102
case
1:
103
return
"auto"
104
case
0:
105
return
"manual"
106
default:
107
return
"manual"
108
}
109
}
110
111
type
Service
struct
{
112
Id string
Callers
1
FromEntity
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected