Merged in fix/sw-3667-not-enough-points (pull request #3337)
fix(SW-3667): Remove conditional on Scandic user token * Remove conditional on Scandic user token Approved-by: Joakim Jäderberg
This commit is contained in:
@@ -34,7 +34,7 @@ export const room = safeProtectedServiceProcedure
|
||||
}
|
||||
|
||||
const pointsValue = await ctx.getUserPointsBalance()
|
||||
if (pointsValue && userToken) {
|
||||
if (pointsValue) {
|
||||
return next<Context>({
|
||||
ctx: {
|
||||
userToken,
|
||||
|
||||
@@ -25,7 +25,7 @@ export const rooms = safeProtectedServiceProcedure
|
||||
}
|
||||
|
||||
const pointsValue = await ctx.getUserPointsBalance()
|
||||
if (pointsValue && userToken) {
|
||||
if (pointsValue) {
|
||||
return next<Context>({
|
||||
ctx: {
|
||||
userToken,
|
||||
|
||||
Reference in New Issue
Block a user