mirror of
https://github.com/BradNut/graphbrainz
synced 2025-09-08 17:40:32 +00:00
Update custom option example
This commit is contained in:
parent
730b908548
commit
d41d764281
1 changed files with 3 additions and 2 deletions
|
|
@ -62,8 +62,9 @@ const app = express();
|
|||
app.use('/graphbrainz', graphbrainz());
|
||||
// or, pass some options:
|
||||
app.use('/graphbrainz', graphbrainz({
|
||||
client: clientInstance,
|
||||
graphiql: true
|
||||
client: new MusicBrainz({ ... }),
|
||||
graphiql: true,
|
||||
...
|
||||
}));
|
||||
|
||||
app.listen(3000);
|
||||
|
|
|
|||
Loading…
Reference in a new issue