Skip to content
Snippets Groups Projects
Commit 4a864835 authored by michael.minelli's avatar michael.minelli
Browse files

Assignment Publish => Move from gitlabId var to id (same)

parent 718b7560
Branches
Tags
No related merge requests found
......@@ -62,7 +62,7 @@ abstract class AssignmentPublishUnpublishCommandBase extends CommanderCommand {
text : 'Checking accesses',
indent: 8
}).start();
if ( !assignment.staff.some(staff => staff.gitlabId === SessionManager.profile?.gitlabId) ) {
if ( !assignment.staff.some(staff => staff.id === SessionManager.profile?.id) ) {
assignmentCheckAccessSpinner.fail(`You are not in the staff of this assignment`);
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment