🔧 refactor(api): исправляет интерфейсы и убирает ненужные приведения типов в API запросах

This commit is contained in:
Oscar
2026-06-08 18:00:44 +03:00
parent 031781a47e
commit ffde85242a
14 changed files with 58 additions and 123 deletions

View File

@@ -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 {