Skip to content

Commit 3c099da

Browse files
committed
Remove async from api generator
1 parent 679e967 commit 3c099da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/feed.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const Feed =
6464
onUpdate,
6565
});
6666

67-
const { add, remove, iterator, all } = await FeedApi({ database });
67+
const { add, remove, iterator, all } = FeedApi({ database });
6868

6969
return {
7070
...database,
@@ -78,7 +78,7 @@ const Feed =
7878

7979
Feed.type = type;
8080

81-
export const FeedApi = async ({ database }: { database: BaseDatabase }) => {
81+
export const FeedApi = ({ database }: { database: BaseDatabase }) => {
8282
const { addOperation, log } = database;
8383

8484
const add = async (value: DagCborEncodable): Promise<string> => {

0 commit comments

Comments
 (0)