Skip to content

Commit

Permalink
add missing await
Browse files Browse the repository at this point in the history
  • Loading branch information
cnuss committed May 11, 2022
1 parent 7cd6ace commit be4a14c
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 @@ -193,7 +193,7 @@ export class StateService {
return;
}

this.stateLockModel.model.destroy(stateLock.attrs.pk, stateLock.attrs.sk);
await this.stateLockModel.model.destroy(stateLock.attrs.pk, stateLock.attrs.sk);
};

public saveRequest = async (stateLockRequest: StateLockRequest): Promise<StateLockRequest> => {
Expand Down

0 comments on commit be4a14c

Please sign in to comment.