File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,9 @@ export default function find<M extends Model = Model>(options: UseFindOptions):
67
67
)
68
68
69
69
if ( ! model ) {
70
- throw new Error ( 'No model provided for useFind(). Did you define and register it with FeathersVuex?' )
70
+ throw new Error (
71
+ `No model provided for useFind(). Did you define and register it with FeathersVuex?`
72
+ )
71
73
}
72
74
73
75
const getFetchParams = ( providedParams ?: Params | Ref < Params > ) : Params => {
Original file line number Diff line number Diff line change @@ -55,7 +55,9 @@ export default function get<M extends Model = Model>(options: UseGetOptions): Us
55
55
)
56
56
57
57
if ( ! model ) {
58
- throw new Error ( 'No model provided for useGet(). Did you define and register it with FeathersVuex?' )
58
+ throw new Error (
59
+ `No model provided for useGet(). Did you define and register it with FeathersVuex?`
60
+ )
59
61
}
60
62
61
63
function getId ( ) : null | string | number {
You can’t perform that action at this time.
0 commit comments