mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-21 08:42:27 +00:00
Cleanup code
This commit is contained in:
parent
8ad04860ee
commit
685f57fd28
4 changed files with 6 additions and 3 deletions
|
@ -31,7 +31,7 @@ namespace ProjectLighthouse {
|
|||
this.Locations.Add(l); // add to table
|
||||
await this.SaveChangesAsync(); // saving to the database returns the id and sets it on this entity
|
||||
|
||||
user = new() {
|
||||
user = new User {
|
||||
Username = username,
|
||||
LocationId = l.Id,
|
||||
Biography = username + " hasn't introduced themselves yet.",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue