Skip to content

Commit

Permalink
fix key bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lou-k committed Nov 27, 2020
1 parent d0fe13b commit 8bf2add
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lightroom/catalog.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def create_new_revision_from_file(self, file_path, content_type, sha256=None):
'fileName': ntpath.basename(file_path),
'importTimestamp': import_timestamp,
'importedOnDevice': socket.gethostname(),
'importedBy': self.lr.api_key,
'importedBy': self.lr.session.headers['X-API-Key'],
}
}
},
Expand Down

0 comments on commit 8bf2add

Please sign in to comment.