Skip to content

Commit

Permalink
fix: DB에 멤버 업데이트 안되는 미친 버그 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
son-daehyeon committed Sep 19, 2024
1 parent 296e610 commit 0155325
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
- name: Build Image
uses: docker/build-push-action@v6
with:
context: .
push: true
platforms: linux/amd64
provenance: false
Expand All @@ -66,6 +67,7 @@ jobs:
- name: Build Image
uses: docker/build-push-action@v6
with:
context: .
push: true
platforms: linux/arm64
tags: ${{ env.IMAGE_NAME }}-arm64
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Wink Official Backend

## Tech Stack

**Runtime:**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,19 @@ export class PurgeUnusedImageJob {
...(await this.projectRepository.findAll())
.map((project) => project.content)
.flatMap((content) => this.toImagesFromHtml(content))

.filter((key) => !key.startsWith('data:image'))
.map((image) => this.activityService.extractKeyFromUrl(image)),
...(await this.projectRepository.findAll())
.map((project) => project.image)

.filter((key) => !key.startsWith('data:image'))
.map((image) => this.activityService.extractKeyFromUrl(image)),
...(await this.socialRepository.findAll())
.flatMap((social) => social.contents)
.map((content) => content.image)

.filter((key) => !key.startsWith('data:image'))
.map((image) => this.activityService.extractKeyFromUrl(image)),
];

Expand Down
1 change: 0 additions & 1 deletion src/domain/member/service/member.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ export class MemberService {
member: Member,
{ description, github, instagram, blog }: UpdateMyInfoRequestDto,
): Promise<void> {
console.log(description, github, instagram, blog);
member.description = description;
member.link = { github, instagram, blog };

Expand Down

0 comments on commit 0155325

Please sign in to comment.