Merged in feat/basic-user (pull request #3135)
feat(SW-3610): Get basic user from api * feat(SW-3610): Get basic user from api * . * Optional profileid Approved-by: Anton Gunnarsson
This commit is contained in:
@@ -9,7 +9,7 @@ import { cache } from "../../DUPLICATED/cache"
|
||||
import { creditCardsSchema } from "../../routers/user/output"
|
||||
import { toApiLang } from "../../utils"
|
||||
import { encrypt } from "../../utils/encryption"
|
||||
import { getVerifiedUser } from "./utils/getVerifiedUser"
|
||||
import { getBasicUser } from "./utils/getBasicUser"
|
||||
import { type FriendTransaction, getStaysSchema, type Stay } from "./output"
|
||||
|
||||
import type { Lang } from "@scandic-hotels/common/constants/language"
|
||||
@@ -190,7 +190,7 @@ export async function updateStaysBookingUrl(
|
||||
lang: Lang
|
||||
) {
|
||||
const [user, error] = await safeTry(
|
||||
getVerifiedUser({
|
||||
getBasicUser({
|
||||
token: session.token,
|
||||
})
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user