From 358fe4e74d29d72946c7553a6e749bc3e5b93c66 Mon Sep 17 00:00:00 2001 From: Tim Miller Date: Tue, 16 Jan 2024 00:06:43 +0900 Subject: [PATCH] Readd GetActorAsync --- src/FishyFlip/ATProtoRepo.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/FishyFlip/ATProtoRepo.cs b/src/FishyFlip/ATProtoRepo.cs index 350ec61..851561c 100644 --- a/src/FishyFlip/ATProtoRepo.cs +++ b/src/FishyFlip/ATProtoRepo.cs @@ -149,6 +149,9 @@ public Task> CreateCurateListAsync( public async Task> GetPostAsync(ATIdentifier repo, string rkey, Cid? cid = null, CancellationToken cancellationToken = default) => await this.GetRecordAsync(Constants.FeedType.Post, repo, rkey, cid, cancellationToken); + public async Task> GetActorAsync(ATIdentifier repo, Cid? cid = null, CancellationToken cancellationToken = default) + => await this.GetRecordAsync(Constants.ActorTypes.Profile, repo, "self", cid, cancellationToken); + public Task> UploadBlobAsync(StreamContent content, CancellationToken cancellationToken = default) { return