Skip to content

Commit

Permalink
cached permissions set
Browse files Browse the repository at this point in the history
  • Loading branch information
LiranCohen committed Aug 29, 2024
1 parent 74440d7 commit 1be22bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/api/src/record.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ export class Record implements RecordModel {
// connected DID's keys and DWN requests target the connected DID's DWN.
this._connectedDid = options.connectedDid;
this._delegateDid = options.delegateDid;
this._cachedPermissions = options.cachedPermissions;

// If the record was queried or read from a remote DWN, the `remoteOrigin` DID will be
// defined. This value is used to send subsequent read requests to the same remote DWN in the
Expand Down

0 comments on commit 1be22bf

Please sign in to comment.