Skip to content

Commit

Permalink
allow resources to match either hash
Browse files Browse the repository at this point in the history
  • Loading branch information
reedstrm committed Oct 8, 2014
1 parent b171e27 commit 694cdad
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cnxarchive/sql/get-resource.sql
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ SELECT mf.mimetype, f.file
FROM module_files as mf
LEFT JOIN files f on mf.fileid = f.fileid
WHERE f.sha1 = %(hash)s
OR f.md5 = %(hash)s
;

0 comments on commit 694cdad

Please sign in to comment.