MCPcopy 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
153export 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.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected