diff --git a/back-end/package-lock.json b/back-end/package-lock.json index 557acac..3e0cd8b 100644 --- a/back-end/package-lock.json +++ b/back-end/package-lock.json @@ -1,12 +1,12 @@ { "name": "back-end", - "version": "1.10.1", + "version": "1.10.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "back-end", - "version": "1.10.1", + "version": "1.10.2", "dependencies": { "axios": "^1.4.0", "date-fns": "^2.30.0", diff --git a/back-end/package.json b/back-end/package.json index 201cb20..d91fada 100644 --- a/back-end/package.json +++ b/back-end/package.json @@ -1,5 +1,5 @@ { - "version": "1.10.1", + "version": "1.10.2", "name": "back-end", "scripts": { "lint": "eslint --ext .ts", diff --git a/back-end/src/handlers/topics.ts b/back-end/src/handlers/topics.ts index 6d6b966..6de26e1 100644 --- a/back-end/src/handlers/topics.ts +++ b/back-end/src/handlers/topics.ts @@ -117,6 +117,7 @@ class Topics extends ResourceController { this.topic = new Topic(this.body); this.topic.topicId = await ddb.IUNID(PROJECT); + this.topic.createdAt = new Date().toISOString(); delete this.topic.updatedAt; delete this.topic.numOfQuestions; diff --git a/back-end/swagger.yaml b/back-end/swagger.yaml index 425093d..a506d6e 100644 --- a/back-end/swagger.yaml +++ b/back-end/swagger.yaml @@ -2,7 +2,7 @@ openapi: 3.0.3 info: title: ESN Assembly app - version: 1.10.1 + version: 1.10.2 contact: name: Matteo Carbone email: email@matteocarbone.com diff --git a/front-end/package-lock.json b/front-end/package-lock.json index e393a9a..00dda83 100644 --- a/front-end/package-lock.json +++ b/front-end/package-lock.json @@ -1,12 +1,12 @@ { "name": "esn-assembly", - "version": "1.10.1", + "version": "1.10.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "esn-assembly", - "version": "1.10.1", + "version": "1.10.2", "dependencies": { "@angular/animations": "^16.1.8", "@angular/common": "^16.1.8", diff --git a/front-end/package.json b/front-end/package.json index 16545d8..1d4ef6a 100644 --- a/front-end/package.json +++ b/front-end/package.json @@ -1,6 +1,6 @@ { "name": "esn-assembly", - "version": "1.10.1", + "version": "1.10.2", "author": "Matteo Carbone", "homepage": "https://matteocarbone.com/", "scripts": { diff --git a/front-end/src/app/tabs/voting/voters/importVoters.component.ts b/front-end/src/app/tabs/voting/voters/importVoters.component.ts index cae1eec..6d015f7 100644 --- a/front-end/src/app/tabs/voting/voters/importVoters.component.ts +++ b/front-end/src/app/tabs/voting/voters/importVoters.component.ts @@ -129,7 +129,7 @@ export class ImportVotersStandaloneComponent implements OnInit { downloadTemplate(): void { const filename = `${this.t._('VOTING.IMPORT_VOTERS')}.xlsx`; const session = new VotingSession(this.votingSession); - session.voters = [new Voter({ id: ' ' })]; + session.voters = [new Voter({ id: ' ' }, session)]; this._voting.downloadVotersSpreadsheet(filename, session); } async import({ target }): Promise { diff --git a/front-end/src/environments/environment.idea.ts b/front-end/src/environments/environment.idea.ts index b7bd74e..1de4ade 100644 --- a/front-end/src/environments/environment.idea.ts +++ b/front-end/src/environments/environment.idea.ts @@ -10,7 +10,7 @@ const STAGE = 'prod'; */ export const environment = { idea: { - app: { version: '1.10.1', mediaUrl: 'https://'.concat(parameters.mediaDomain), maxFileUploadSizeMB: 50 }, + app: { version: '1.10.2', mediaUrl: 'https://'.concat(parameters.mediaDomain), maxFileUploadSizeMB: 50 }, api: { url: parameters.apiDomain, stage: STAGE }, socket: { url: parameters.webSocketApiDomain, stage: STAGE }, ionicExtraModules: ['common']