Adding update endpoint for location, player, spawnable, and user
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user