Skip to content
This repository was archived by the owner on Apr 8, 2024. It is now read-only.

Commit 4b39dd4

Browse files
committed
chore(subscription-hooks): add resource name property
1 parent 9e2f32a commit 4b39dd4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/subscription-hook-storage.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@ const PLACEHOLDER_START_DATE = new Date('2020-01-01')
7777
class Subscriptions {
7878

7979
constructor(storagePath) {
80-
this._storage = resource({ documentPath: storagePath, resourceName: 'subscriptions' })
80+
/** @private */ this._resourceName = 'subscription'
81+
/** @private */ this._storage = resource({ documentPath: storagePath, resourceName: this._resourceName })
8182
}
8283

8384
get ERROR_INVALID_ARGUMENTS() {

0 commit comments

Comments
 (0)