Skip to content

Commit

Permalink
fix: pass config.store to discoverEmberDataModels
Browse files Browse the repository at this point in the history
  • Loading branch information
locks authored and derrabauke committed Dec 27, 2023
1 parent 8342a83 commit 7959dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/dummy/mirage/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { createServer, Response } from "miragejs";
export default function makeServer(config) {
return createServer({
...config,
models: { ...discoverEmberDataModels(), ...config.models },
models: { ...discoverEmberDataModels(config.store), ...config.models },
routes() {
this.urlPrefix = "http://localhost:4200";
this.namespace = "";
Expand Down

0 comments on commit 7959dd9

Please sign in to comment.