Skip to content

Commit

Permalink
fix(engine/store): pick owner id
Browse files Browse the repository at this point in the history
  • Loading branch information
njfamirm authored and alimd committed Dec 25, 2023
1 parent 196b80f commit 2cb028a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/engine5/src/alwatr-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export class AlwatrStore {
* ```
*/
defineDocument<TDoc extends Record<string, unknown>>(
config: Pick<StoreFileStat, 'id' | 'region' | 'ttl'>,
config: Pick<StoreFileStat, 'id' | 'region' | 'ttl' | 'ownerId'>,
initialData: TDoc,
): Promise<void> {
logger.logMethodArgs?.('defineDocument', config);
Expand All @@ -197,7 +197,7 @@ export class AlwatrStore {
* });
* ```
*/
defineCollection(config: Pick<StoreFileStat, 'id' | 'region' | 'ttl'>): Promise<void> {
defineCollection(config: Pick<StoreFileStat, 'id' | 'region' | 'ttl' | 'ownerId'>): Promise<void> {
logger.logMethodArgs?.('defineCollection', config);
const stat: StoreFileStat = {
...config,
Expand Down

0 comments on commit 2cb028a

Please sign in to comment.