Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/simstudioai/sim
/ getLockHttpMethod
Function
getLockHttpMethod
apps/sim/tools/agiloft/utils.ts:153–162 ·
view source on GitHub ↗
(lockAction: string)
Source
from the content-addressed store, hash-verified
151
}
152
153
export
function
getLockHttpMethod(lockAction: string): HttpMethod {
154
switch (lockAction) {
155
case
'lock'
:
156
return
'PUT'
157
case
'unlock'
:
158
return
'DELETE'
159
default:
160
return
'GET'
161
}
162
}
Callers
1
route.ts
File · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected