oneRain 2021-01-14 14:36:02 +08:00
parent aec1551cb7
commit 940f6a70ab
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ namespace Storage.Test {
{ "content", "hello, game" } { "content", "hello, game" }
} }
}; };
await LCStatus.SendPrivately(status, user2.ObjectId); await LCStatus.SendPrivately(privateStatus, user2.ObjectId);
} }
[Test] [Test]

View File

@ -27,7 +27,7 @@ namespace LeanCloud.Storage {
MaxId = 0; MaxId = 0;
} }
public async Task<ReadOnlyCollection<LCStatus>> Find() { public new async Task<ReadOnlyCollection<LCStatus>> Find() {
LCUser user = await LCUser.GetCurrent(); LCUser user = await LCUser.GetCurrent();
if (user == null) { if (user == null) {
throw new ArgumentNullException("current user"); throw new ArgumentNullException("current user");