🔧 refactor(api): исправляет интерфейсы и убирает ненужные приведения типов в API запросах
This commit is contained in:
@@ -140,7 +140,7 @@ const dateOpen = ref(false)
|
||||
onMounted(async () => {
|
||||
loading.value = true
|
||||
try {
|
||||
const res = await apiClient.api.profilesControllerFindOne(profileId) as unknown as UserProfile
|
||||
const res = await apiClient.api.profilesControllerFindOne(profileId)
|
||||
profile.value = res
|
||||
}
|
||||
catch {
|
||||
|
||||
Reference in New Issue
Block a user