Commit 2a928814 authored by nanahira's avatar nanahira

add log

parent 6d80d942
Pipeline #5407 canceled with stages
in 3 minutes and 27 seconds
......@@ -344,6 +344,7 @@ export class AppService extends ConsoleLogger {
}
async checkHashFromUrl(url: string) {
this.log(`Downloading ${url} for checking hash.`);
const { data } = await axios.get<internal.Readable>(url, { responseType: 'stream' });
return new Promise<string>((resolve, reject) => {
const hashObject = createHash('sha256');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment