Skip to content

Commit

Permalink
Merge pull request #331 from sparcs-kaist/#329-userseditaccount-api-a…
Browse files Browse the repository at this point in the history
…ccept-empty-str

#329 `/users/editAccount` API에서 빈 문자열 입력 허용
  • Loading branch information
14KGun authored Sep 3, 2023
2 parents 90de1a3 + 3051530 commit 3164ebf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/patterns.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ module.exports = {
nickname: RegExp("^[A-Za-z가-힣ㄱ-ㅎㅏ-ㅣ0-9-_ ]{3,25}$"),
allowedEmployeeTypes: RegExp("^([PEUR]|[SA]|[PEUR][SA])$"),
profileImgType: RegExp("^(image/png|image/jpg|image/jpeg)$"),
account: RegExp("^[A-Za-z가-힣]{2,7} ([0-9]{10,14}|)$"),
account: RegExp("^[A-Za-z가-힣]{2,7} [0-9]{10,14}$|^$"),
},
chat: {
chatImgType: RegExp("^(image/png|image/jpg|image/jpeg)$"),
Expand Down

0 comments on commit 3164ebf

Please sign in to comment.