3124: added listprice to printproduct and public access to product and designers (#138)
This commit is contained in:
@@ -46,7 +46,12 @@ function getScopes(user: ClaimVerifyResult): Scopes[] | [] {
|
||||
|
||||
function throwForbidden() {
|
||||
throw new GraphQLError('You are not authorized to perform this action', {
|
||||
extensions: { code: 'FORBIDDEN' },
|
||||
extensions: {
|
||||
code: 'FORBIDDEN',
|
||||
http: {
|
||||
status: 401,
|
||||
},
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user