Skip to content

Commit

Permalink
Fix bug with middleware list
Browse files Browse the repository at this point in the history
  • Loading branch information
ArunPrakashG committed May 26, 2024
1 parent 95ce58a commit 02f9c1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/wordpress_client_base.dart
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ final class WordpressClient implements IDisposable {
),
CodableMap(),
{},
configuration.middlewares ?? const [],
configuration.middlewares ?? [],
);
}

Expand Down Expand Up @@ -126,7 +126,7 @@ final class WordpressClient implements IDisposable {
),
CodableMap(),
{},
configuration.middlewares ?? const [],
configuration.middlewares ?? [],
);
}

Expand Down

0 comments on commit 02f9c1f

Please sign in to comment.