Skip to content

Commit

Permalink
Fix miragejs config
Browse files Browse the repository at this point in the history
  • Loading branch information
francois2metz authored Oct 9, 2023
1 parent 3fe0e02 commit d85bee3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 1d/mirage/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { createServer } from 'miragejs';
export default function makeServer(config) {
const finalConfig = {
...config,
models: { ...discoverEmberDataModels(), ...config.models },
models: { ...discoverEmberDataModels(config.store), ...config.models },
serializers: applyEmberDataSerializers(config.serializers),
routes,
logging: true,
Expand Down

0 comments on commit d85bee3

Please sign in to comment.