File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 3
3
* @param {Vuex.Store } store
4
4
* @param {Object } relatedObject
5
5
* @param {Object } config{isToMany: boolean}
6
+ * @param {Object } config{isToMany: boolean}
6
7
*/
7
8
export function getRelationship ( store , relatedObject , config ) {
8
9
return new Proxy ( ( ) => { } , {
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export function initApiMockServer () {
51
51
type : 'book' ,
52
52
id,
53
53
attributes : {
54
- author : faker . name . findName ( ) ,
54
+ author : faker . person . fullName ( ) ,
55
55
title : faker . lorem . words ( 3 )
56
56
}
57
57
}
@@ -62,7 +62,7 @@ export function initApiMockServer () {
62
62
type : 'Category' ,
63
63
id,
64
64
attributes : {
65
- author : faker . name . findName ( ) ,
65
+ author : faker . person . fullName ( ) ,
66
66
title : faker . lorem . words ( 3 )
67
67
}
68
68
}
You can’t perform that action at this time.
0 commit comments