Skip to content

Commit a9130a2

Browse files
author
Theodore Li
committed
Make getitem public
1 parent baa0851 commit a9130a2

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

golang/authorizer/route.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ var validUnauthenticatedRoutes = []Route{
4848
{"POST", "exchange-token"},
4949
{"POST", "issue-jwt"},
5050
{"GET", "get-customer-transfer"},
51+
{"POST", "get-item"},
5152
}
5253

5354
var validMerchantRoutes = []Route{
@@ -77,7 +78,6 @@ var validCustomerRoutes = []Route{
7778
{"GET", "get-user-profile"},
7879
{"POST", "submit-terms"},
7980
{"POST", "delete-refresh-token"},
80-
{"POST", "get-item"},
8181
{"POST", "list-items"},
8282
{"POST", "create-sell-job"},
8383
{"POST", "complete-sell-job"},

kotlin/lambda/item-handler/src/main/kotlin/com/zenobiapay/item/operations/GetItemOperation.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ class GetItemOperation @Inject constructor(
3737
}
3838

3939
override fun getUserPoolAllowList(): List<UserPoolGroup> {
40-
return listOf(UserPoolGroup.CUSTOMER)
40+
return listOf(UserPoolGroup.UNKNOWN)
4141
}
4242
}

0 commit comments

Comments
 (0)