@@ -173,7 +173,7 @@ class Subscriptions {
173
173
}
174
174
175
175
const flatModel = flattenObject ( subscriptionModel , 'subscription' )
176
- await this . _storage . update ( ids , flatModel )
176
+ return this . _storage . update ( ids , flatModel )
177
177
}
178
178
179
179
_getTargetIdsFromPassthrough ( passthrough ) {
@@ -245,7 +245,7 @@ class Subscriptions {
245
245
}
246
246
247
247
const flatModel = flattenObject ( subscriptionModel , 'subscription' )
248
- await this . _storage . update ( ids , flatModel )
248
+ return this . _storage . update ( ids , flatModel )
249
249
}
250
250
251
251
/**
@@ -281,7 +281,7 @@ class Subscriptions {
281
281
}
282
282
283
283
const flatModel = flattenObject ( subscriptionModel , 'subscription' )
284
- await this . _storage . update ( ids , flatModel )
284
+ return this . _storage . update ( ids , flatModel )
285
285
}
286
286
287
287
/**
@@ -307,7 +307,7 @@ class Subscriptions {
307
307
}
308
308
309
309
const flatModel = flattenObject ( subscriptionModel , 'subscription' )
310
- await this . _storage . update ( ids , flatModel )
310
+ return this . _storage . update ( ids , flatModel )
311
311
}
312
312
313
313
/**
@@ -333,7 +333,7 @@ class Subscriptions {
333
333
}
334
334
335
335
const flatModel = flattenObject ( subscriptionModel , 'subscription' )
336
- await this . _storage . update ( ids , flatModel )
336
+ return this . _storage . update ( ids , flatModel )
337
337
}
338
338
339
339
/**
@@ -359,7 +359,7 @@ class Subscriptions {
359
359
}
360
360
361
361
const flatModel = flattenObject ( subscriptionModel , 'subscription' )
362
- await this . _storage . update ( ids , flatModel )
362
+ return this . _storage . update ( ids , flatModel )
363
363
}
364
364
}
365
365
0 commit comments