1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-24 04:04:29 +00:00

add comment

This commit is contained in:
Brandon
2025-12-12 10:50:00 -05:00
parent 321f8a5b4f
commit 2a79c94a74

View File

@@ -26,6 +26,10 @@ export class UpdateCommand {
"https://api.github.com/repos/bitwarden/" + this.repoName + "/releases/latest",
);
if (response.status === 200) {
// FIXME As of node-fetch v.3 this response has "unknown" type.
// Github provides type definitions for thier public api,
// but as of now we do not have them as a dependnecy. We
// should in the future consider adding this.
const responseJson = (await response.json()) as any;
const res = new MessageResponse(null, null);