Skip to content

Commit

Permalink
[Doc] Fix Custom schema example (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
slax57 committed Feb 16, 2024
1 parent e78f582 commit 2b830a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ PostgREST allows to [select and switch the database schema](https://postgrest.or
```jsx
const config: IDataProviderConfig = {
...
schema: localStorage.getItem("schema") || "api",
schema: () => localStorage.getItem("schema") || "api",
...
}

Expand Down

0 comments on commit 2b830a0

Please sign in to comment.