Merge pull request #5 from Aaron-Penn-Interactive/patch-1
Update README.md
This commit is contained in:
commit
cda2d95b7e
|
@ -99,8 +99,8 @@ guard let category = Category(db: db, key: categoryKey) else { return }
|
|||
|
||||
// instantiate asynchronously
|
||||
do {
|
||||
let category = try await Category.load(from: db, for: categoryKey)
|
||||
// use category
|
||||
let category = try await Category.load(from: db, for: categoryKey)
|
||||
// use category
|
||||
} catch {
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue