Adding update endpoint for location, player, spawnable, and user

This commit is contained in:
hz
2025-06-09 10:23:43 -05:00
parent 7aa192d728
commit 44f57a1121
13 changed files with 174 additions and 0 deletions
+5
View File
@@ -45,4 +45,9 @@ public class SpawnableService
{
await _spawnables.DeleteOneAsync(s => s.Id == id);
}
public virtual async Task UpdateAsync(Spawnable spawnable)
{
await _spawnables.ReplaceOneAsync(s => s.Id == spawnable.Id, spawnable);
}
}