Commit 51d8f888 authored by Peter Aisher's avatar Peter Aisher Committed by Nejc Habjan
Browse files

fix(files): CR: add explicit comparison to `None`



Co-authored-by: default avatarNejc Habjan <hab.nejc@gmail.com>
parent f316b466
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -267,7 +267,7 @@ class ProjectFileManager(GetMixin, CreateMixin, UpdateMixin, DeleteMixin, RESTMa
        """
        file_path = utils.EncodedId(file_path)
        path = f"{self.path}/{file_path}/raw"
        if ref:
        if ref is not None:
            query_data = {"ref": ref}
        else:
            query_data = None