Skip to content

Commit fff7ffb

Browse files
committed
Update documentation
1 parent a21942d commit fff7ffb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ATProtoKit/Utilities/ATRecordProtocol.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ extension ATRecordConfiguration {
102102
/// When adding a record, you need to type `.self` at the end.
103103
/// ```swift
104104
/// Task {
105-
/// await ATRecordTypeRegistry(types: [UserProfile.self])
105+
/// _ = await ATRecordTypeRegistry.shared.register(blueskyLexiconTypes: [UserProfile.self])
106106
/// }
107107
/// ```
108108
///

0 commit comments

Comments
 (0)