File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,12 @@ COPY yarn.lock .
66COPY tsconfig.build.json .
77COPY ./src/backend/package.json src/backend/
88COPY ./src/shared/package.json src/shared/
9+ RUN cd src/backend/
910RUN yarn install
11+ RUN cd ../../
12+ RUN cd src/shared/
13+ RUN yarn install
14+ RUN cd ../../
1015COPY ./src/backend src/backend
1116COPY ./src/shared src/shared
1217RUN yarn prisma:generate
Original file line number Diff line number Diff line change @@ -147,15 +147,15 @@ export default class UsersService {
147147 } ) ;
148148
149149 if ( ! payload [ 'given_name' ] ) {
150- throw new HttpException ( 400 , 'First Name not Found on Google Account' ) ;
150+ throw new HttpException ( 400 , 'First Name was not Found on Google Account' ) ;
151151 }
152152
153153 if ( ! payload [ 'family_name' ] ) {
154- throw new HttpException ( 400 , 'Last Name not Found on Google Account' ) ;
154+ throw new HttpException ( 400 , 'Last Name was not Found on Google Account' ) ;
155155 }
156156
157157 if ( ! payload [ 'email' ] ) {
158- throw new HttpException ( 400 , 'Email not Found on Google Account' ) ;
158+ throw new HttpException ( 400 , 'Email was not Found on Google Account' ) ;
159159 }
160160
161161 // if not in database, create user in database
You can’t perform that action at this time.
0 commit comments