Skip to content

Commit 88dbb16

Browse files
update readme
1 parent 7d7d9a9 commit 88dbb16

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/PowerSync/attachments/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ let schema = Schema(
4545
)
4646
```
4747

48-
The `createAttachmentTable` function defines the `local-only` attachment state storage table. See the [Implementation Details](#implementation-details) section for more details.
48+
The `createAttachmentTable` function defines a `local-only` attachment state storage table. See the [Implementation Details](#implementation-details) section for more details.
4949

5050
#### Steps to Implement
5151

@@ -101,7 +101,7 @@ let queue = AttachmentQueue(
101101

102102
- The `attachmentsDirectory` specifies where local attachment files should be stored. `FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first?.appendingPathComponent("attachments")` is a good choice.
103103
- The `remoteStorage` is responsible for connecting to the attachments backend. See the `RemoteStorageAdapter` protocol definition.
104-
- `watchAttachmens` is closure which generates a publisher of `WatchedAttachmentItem`. These items represent the attachments that should be present in the application.
104+
- `watchAttachments` is closure which generates a publisher of `WatchedAttachmentItem`. These items represent the attachments that should be present in the application.
105105

106106
3. Call `startSync()` to start syncing attachments.
107107

0 commit comments

Comments
 (0)