Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clintonwoo/hackernews-react-graphql
/ createUser
Method
createUser
server/database/database.ts:220–224 ·
view source on GitHub ↗
(user: UserModel)
Source
from the content-addressed store, hash-verified
218
}
219
220
createUser(user: UserModel): UserModel {
221
sampleData.users.push(user);
222
223
return
user;
224
}
225
226
/* END USERS */
227
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected