mirror of
https://github.com/EpinelPS/EpinelPS.git
synced 2025-12-14 16:04:36 +01:00
use async for WriteData
This commit is contained in:
@@ -30,7 +30,7 @@ namespace nksrv.LobbyServer.Msgs.Inventory
|
||||
}
|
||||
JsonDb.Save();
|
||||
|
||||
WriteData(response);
|
||||
await WriteDataAsync(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace nksrv.LobbyServer.Msgs.Inventory
|
||||
|
||||
JsonDb.Save();
|
||||
|
||||
WriteData(response);
|
||||
await WriteDataAsync(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace nksrv.LobbyServer.Msgs.Inventory
|
||||
|
||||
// TODO implement
|
||||
|
||||
WriteData(response);
|
||||
await WriteDataAsync(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ namespace nksrv.LobbyServer.Msgs.Inventory
|
||||
}
|
||||
}
|
||||
JsonDb.Save();
|
||||
WriteData(response);
|
||||
await WriteDataAsync(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace nksrv.LobbyServer.Msgs.Inventory
|
||||
|
||||
JsonDb.Save();
|
||||
|
||||
WriteData(response);
|
||||
await WriteDataAsync(response);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user