Skip to content

Commit

Permalink
remove comment and log
Browse files Browse the repository at this point in the history
  • Loading branch information
RikaCelery committed Jan 16, 2025
1 parent 633e8ce commit fd5335f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Lagrange.OneBot/Core/Operation/Generic/GetRkey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ public async Task<OneBotResult> HandleOperation(BotContext context, JsonNode? pa
var fetchRKeyEvent = FetchRKeyEvent.Create();
var events = await context.ContextCollection.Business.SendEvent(fetchRKeyEvent);
var rKeyEvent = (FetchRKeyEvent)events[0];
// rKeyEvent.RKeys[0].RkeyCreateTime;
context.ContextCollection.Log.LogDebug("[get_rkey]", rKeyEvent.RKeys.ToString() ?? throw new InvalidOperationException());
if (rKeyEvent.ResultCode!=0) return new OneBotResult(null, rKeyEvent.ResultCode, "failed");
var response = new OneBotGetRkeyResponse(rKeyEvent.RKeys.Select(x=>new OneBotRkey
{
Expand Down

0 comments on commit fd5335f

Please sign in to comment.