Skip to content

Commit

Permalink
chore: fix e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
stepan662 committed Sep 3, 2024
1 parent 1dd4170 commit 858ed39
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,6 @@ class SecurityService(
) {
try {
checkProjectPermission(projectId, scope)
checkLanguagePermission(
projectId,
) { data -> data.checkStateChangePermitted(languageId) }
} catch (e: PermissionException) {
checkProjectPermission(projectId, Scope.TRANSLATIONS_VIEW)
if (!translationInTask(keyId, languageId, taskType)) {
Expand Down

0 comments on commit 858ed39

Please sign in to comment.