Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/clintonwoo/hackernews-remix-react
/ createUser
Method
createUser
src/server/database/database.ts:230–234 ·
view source on GitHub ↗
(user: UserModel)
Source
from the content-addressed store, hash-verified
228
}
229
230
async
createUser(user: UserModel): Promise<UserModel> {
231
sampleData.users.push(user);
232
233
return
user;
234
}
235
236
/* END USERS */
237
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected