Skip to content

Commit 90b9d46

Browse files
author
Antoine Resenterra
committed
fix: correct method name to setPostalCode
1 parent d22bb39 commit 90b9d46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main/java/com/authlete/jaxrs/server/db/UserDao.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public class UserDao
7070
.setCountry("USA")
7171
.setLocality("Shoshone")
7272
.setStreetAddress("114 Old State Hwy 127")
73-
.setPostaCode("CA 92384"),
73+
.setPostalCode("CA 92384"),
7474
null, null, "Inga", "Silverstone", null, null,
7575
"https://example.com/inga/profile", "https://example.com/inga/me.jpg",
7676
"https://example.com/inga/", "female", "America/Toronto", "en-US",

src/main/java/com/authlete/jaxrs/server/db/UserEntity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ private static Address extractAddress(UserInfo userInfo)
210210
.setCountry(addr.getCountry())
211211
.setFormatted(addr.getFormatted())
212212
.setLocality(addr.getLocality())
213-
.setPostaCode(addr.getPostalCode())
213+
.setPostalCode(addr.getPostalCode())
214214
.setRegion(addr.getRegion())
215215
.setStreetAddress(addr.getStreetAddress())
216216
;

0 commit comments

Comments
 (0)