Skip to content

Commit

Permalink
set empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
cnuss committed May 11, 2022
1 parent 17153cb commit 6b9a48d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/StateService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ export class StateService {
identity: IdentityWithToken,
stateLockRequest?: StateLockRequest,
): Promise<void> => {
const path = stateLockRequest ? stateLockRequest.Path : '';
const path = stateLockRequest ? stateLockRequest.Path || '' : '';
const pk = StateLockModel.prefix('pk', identity.ownerId);
const sk = StateLockModel.prefix('sk', `${identity.repoId}_${identity.workspace}_${path}`);

Expand Down

0 comments on commit 6b9a48d

Please sign in to comment.