X-Git-Url: https://gitweb.ps.run/ps-cgit/blobdiff_plain/54d37dc154f5308459df0a90c81dabd0245b6c17..255b78ff5291cef79978b025c9872f801de89e23:/ui-snapshot.c diff --git a/ui-snapshot.c b/ui-snapshot.c index 83ce6e8..92c3277 100644 --- a/ui-snapshot.c +++ b/ui-snapshot.c @@ -174,7 +174,7 @@ static int write_sig(const struct cgit_snapshot_format *format, return 0; } - buf = read_sha1_file(note->hash, &type, &size); + buf = read_object_file(note, &type, &size); if (!buf) { cgit_print_error_page(404, "Not found", "Not found"); return 0;