File tree Expand file tree Collapse file tree 4 files changed +7
-5
lines changed
Expand file tree Collapse file tree 4 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " konzisite-api" ,
3- "version" : " 0.0.1 " ,
3+ "version" : " 0.2.0 " ,
44 "description" : " " ,
5- "author" : " " ,
5+ "author" : " Kir-Dev " ,
66 "private" : true ,
77 "license" : " UNLICENSED" ,
88 "scripts" : {
Original file line number Diff line number Diff line change @@ -4,7 +4,9 @@ import { Injectable } from '@nestjs/common'
44export class AppService {
55 getHello ( ) : string {
66 return `Konzisite REST API ${
7- process . env . VERSION ? 'v' + process . env . VERSION : 'in Development mode'
7+ process . env . npm_package_version
8+ ? 'v' + process . env . npm_package_version
9+ : 'in Development mode'
810 } © ${ new Date ( ) . getFullYear ( ) } Kir-Dev`
911 }
1012}
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ async function bootstrap() {
2121 const config = new DocumentBuilder ( )
2222 . setTitle ( 'Konzisite API' )
2323 . setDescription ( 'Konzisite API' )
24- . setVersion ( '0.1.0' )
24+ . setVersion ( process . env . npm_package_version || '0.1.0' )
2525 . addBearerAuth ( )
2626 . build ( )
2727 const document = SwaggerModule . createDocument ( app , config )
Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ export class UsersService {
151151 participationId : - 1 , // can get userId from participationId
152152 rater : {
153153 id : - 1 ,
154- fullName : 'Anonymous ' ,
154+ fullName : 'Névtelen felhasználó ' ,
155155 } ,
156156 }
157157 return {
You can’t perform that action at this time.
0 commit comments