Skip to content

Commit

Permalink
Merge pull request #249 from skedify/develop
Browse files Browse the repository at this point in the history
release/next
  • Loading branch information
BenSwennen authored May 11, 2021
2 parents 4fcc1f9 + 48c50ab commit a681cec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/resources/__snapshots__/index.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1524,7 +1524,10 @@ Object {
"sub_resources": Object {},
},
"options": Object {
"allowed_includes": Array [],
"allowed_includes": Array [
"languages",
"languages.translations",
],
"allowed_methods": Array [
"*",
],
Expand Down
4 changes: 3 additions & 1 deletion src/resources/subjects.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ export const subjects = createResourceDescription(
},
{
languages: createResourceDescription('languages'),
options: createResourceDescription('options'),
options: createResourceDescription('options', {
includes: ['languages', 'languages.translations'],
}),
}
),
timetable: createResourceDescription('timetable', {
Expand Down

0 comments on commit a681cec

Please sign in to comment.