aboutsummaryrefslogtreecommitdiff
path: root/backend/notes/app.bsky.feed.post.go
diff options
context:
space:
mode:
Diffstat (limited to 'backend/notes/app.bsky.feed.post.go')
-rw-r--r--backend/notes/app.bsky.feed.post.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/notes/app.bsky.feed.post.go b/backend/notes/app.bsky.feed.post.go
index c4311e7..6b74257 100644
--- a/backend/notes/app.bsky.feed.post.go
+++ b/backend/notes/app.bsky.feed.post.go
@@ -31,7 +31,7 @@ type AppBskyFeedPostRecord struct {
} `json:"value"`
}
-func AppBskyFeedPostFromRecord(record AppBskyFeedPostRecord, profile *general.Profile) (*Note, error) {
+func NoteFromAppBskyFeedPostRecord(record AppBskyFeedPostRecord, profile *general.Profile) (*Note, error) {
if record.URI == "" {
return nil, fmt.Errorf("missing required field: uri")
}