Skip to content
Snippets Groups Projects

Update: Using User from APIv2

Closed Petar Hristov requested to merge Issue/2435-userApi into dev
All threads resolved!
5 files
+ 17
17
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -35,7 +35,7 @@ import factory from 'rdf-ext';
import { BCard } from 'bootstrap-vue';
import { type FixedValues } from '@/types/fixedValues';
import { type BilingualLabels } from '@coscine/api-client/dist/types/Coscine.Api.Metadata';
import { type UserObject } from '@coscine/api-client/dist/types/Coscine.Api.User';
import type { UserDto } from '@coscine/api-client/dist/types/Coscine.Api';
const i18n = new VueI18n({
locale: 'en',
@@ -100,9 +100,9 @@ export default defineComponent({
},
userReceiver: {
default: () => {
return async () => ({} as UserObject);
return async () => ({} as UserDto);
},
type: Function as PropType<() => Promise<UserObject>>,
type: Function as PropType<() => Promise<UserDto>>,
},
},
data() {
Loading