Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/app-generator/api-server-nodejs
/ update-role.ts
File
update-role.ts
src/update-role.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
"dotenv/config"
;
2
import
User from
"./models/user"
;
3
import
{ connection, connect } from
"./server/database"
;
4
const
userId = process.argv[2];
Callers
nothing calls this directly
Calls
1
updateUser
Function · 0.85
Tested by
no test coverage detected