File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -26,22 +26,22 @@ export default {
26
26
description : "The phone number of the third party" ,
27
27
optional : true ,
28
28
} ,
29
- steetAddress : {
29
+ streetAddress : {
30
30
type : "string" ,
31
31
label : "Street Address" ,
32
- description : "The street address of the user " ,
32
+ description : "The street address of the third party " ,
33
33
optional : true ,
34
34
} ,
35
35
zip : {
36
36
type : "string" ,
37
37
label : "Zip" ,
38
- description : "The zip code of the user " ,
38
+ description : "The zip code of the third party " ,
39
39
optional : true ,
40
40
} ,
41
41
town : {
42
42
type : "string" ,
43
43
label : "Town" ,
44
- description : "The city or town of the user " ,
44
+ description : "The city or town of the third party " ,
45
45
optional : true ,
46
46
} ,
47
47
additionalProperties : {
@@ -58,13 +58,13 @@ export default {
58
58
name : this . name ,
59
59
email : this . email ,
60
60
phone : this . phone ,
61
- address : this . steetAddress ,
61
+ address : this . streetAddress ,
62
62
zip : this . zip ,
63
63
town : this . town ,
64
64
...parseObject ( this . additionalProperties ) ,
65
65
} ,
66
66
} ) ;
67
- $ . export ( "$summary" , `Successfully created third party ${ response } ` ) ;
67
+ $ . export ( "$summary" , `Successfully created third party with ID ${ response } ` ) ;
68
68
return response ;
69
69
} ,
70
70
} ;
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export default {
54
54
description : "Whether the user is an administrator" ,
55
55
optional : true ,
56
56
} ,
57
- steetAddress : {
57
+ streetAddress : {
58
58
type : "string" ,
59
59
label : "Street Address" ,
60
60
description : "The street address of the user" ,
@@ -93,7 +93,7 @@ export default {
93
93
admin : this . isAdmin
94
94
? 1
95
95
: 0 ,
96
- address : this . steetAddress ,
96
+ address : this . streetAddress ,
97
97
zip : this . zip ,
98
98
town : this . town ,
99
99
...parseObject ( this . additionalProperties ) ,
Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ export default {
159
159
return ;
160
160
}
161
161
}
162
- total = results . total ;
162
+ total = results ?. length ;
163
163
} while ( total === params . limit ) ;
164
164
} ,
165
165
} ,
You can’t perform that action at this time.
0 commit comments