Skip to content

Commit

Permalink
Fix guard for upload
Browse files Browse the repository at this point in the history
  • Loading branch information
robertcsakany committed Dec 19, 2023
1 parent 741a644 commit 07da029
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ operation JSL!TransferFieldDeclaration getFqName(): String {

@cached
operation JSL!TransferFieldDeclaration isGetUploadTokenSupported(): Boolean {
if (self.referenceType.`primitive` != "binary") {

if (self.referenceType.primitive.isUndefined() or self.referenceType.primitive <> "binary") {
return false;
}

Expand Down

0 comments on commit 07da029

Please sign in to comment.