Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/YMFE/yapi
/ findId
Method
findId
server/models/token.js:27–34 ·
view source on GitHub ↗
(token)
Source
from the content-addressed store, hash-verified
25
}
26
27
findId(token) {
28
return
this.model
29
.findOne({
30
token: token
31
})
32
.select(
'project_id'
)
33
.exec();
34
}
35
36
up(project_id, token) {
37
return
this.model.update(
Callers
1
getProjectIdByToken
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected