Skip to content

Commit

Permalink
Merge pull request #81 from yeha98555/feature/bugs
Browse files Browse the repository at this point in the history
Feature/bugs
  • Loading branch information
yurychang committed Jun 30, 2023
2 parents cb21ff2 + c427daa commit 976ff14
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/activity/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const activityService = {

getActivityInfo: async (id: string) => {
const activity = await ActivityModel.findById(id).select(
'-__v -create_at -update_at -deleted_at -seat_small_img_url -region -areas -events.qrcode_verify_id -events.create_at -events.update_at',
'-__v -create_at -update_at -deleted_at -region -areas -events.qrcode_verify_id -events.create_at -events.update_at',
);
if (!activity) throw new NotFoundException();
if (!activity.is_published) throw new NotFoundException();
Expand Down
1 change: 1 addition & 0 deletions src/services/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ const userService = {
'bank_account',
'activity_region',
'birthday',
'avatar_url',
]);
return user;
},
Expand Down

0 comments on commit 976ff14

Please sign in to comment.