Skip to content

Commit

Permalink
Issue: #CO-950:Creator added in v8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubham Bansal authored and Shubham Bansal committed Jun 12, 2024
1 parent bd08fdd commit cf24786
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion projects/questionset-editor-library/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@project-sunbird/sunbird-questionset-editor",
"version": "8.0.3",
"version": "8.0.4",
"dependencies": {
"tslib": "^2.0.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,7 @@ export class QuestionComponent implements OnInit, AfterViewInit, OnDestroy {
getDefaultSessionContext() {
return _.omitBy(_.merge(
{
creator: _.get(this.editorService.editorConfig, 'context.user.fullName'),
createdBy: _.get(this.editorService.editorConfig, 'context.user.id'),
..._.pick(_.get(this.editorService.editorConfig, 'context'), ['board', 'medium', 'gradeLevel', 'subject', 'topic'])
},
Expand Down

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion web-component/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@project-sunbird/sunbird-questionset-editor-web-component",
"version": "4.0.2",
"version": "4.0.3",
"description": "The web component package for the sunbird questionset editor",
"main": "sunbird-questionset-editor.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion web-component/sunbird-questionset-editor.js

Large diffs are not rendered by default.

0 comments on commit cf24786

Please sign in to comment.