Skip to content

Commit 516a1e0

Browse files
committed
rebuild pls
1 parent d6a915f commit 516a1e0

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@ COPY yarn.lock .
66
COPY tsconfig.build.json .
77
COPY ./src/backend/package.json src/backend/
88
COPY ./src/shared/package.json src/shared/
9+
RUN cd src/backend/
910
RUN yarn install
11+
RUN cd ../../
12+
RUN cd src/shared/
13+
RUN yarn install
14+
RUN cd ../../
1015
COPY ./src/backend src/backend
1116
COPY ./src/shared src/shared
1217
RUN yarn prisma:generate

src/backend/src/services/users.services.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)