feat(SW-360): include signup form as a dynamic content
This commit is contained in:
committed by
Pontus Dreij
parent
367cab27ab
commit
f895cd2cb5
@@ -142,7 +142,7 @@ export const serverActionProcedure = t.procedure.experimental_caller(
|
||||
|
||||
export const hotelServiceServerActionProcedure = serverActionProcedure.use(
|
||||
async (opts) => {
|
||||
const { access_token } = await fetchServiceToken("hotel")
|
||||
const { access_token } = await fetchServiceToken(["hotel"])
|
||||
if (!access_token) {
|
||||
throw internalServerError("Failed to obtain service token")
|
||||
}
|
||||
@@ -156,7 +156,7 @@ export const hotelServiceServerActionProcedure = serverActionProcedure.use(
|
||||
|
||||
export const profileServiceServerActionProcedure = serverActionProcedure.use(
|
||||
async (opts) => {
|
||||
const { access_token } = await fetchServiceToken("profile")
|
||||
const { access_token } = await fetchServiceToken(["profile"])
|
||||
if (!access_token) {
|
||||
throw internalServerError("Failed to obtain service token")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user