We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9c3606 commit 7888010Copy full SHA for 7888010
1 file changed
src/client.ts
@@ -153,10 +153,10 @@ export class Pushy {
153
return `${endpoint}/checkUpdate/${this.options.appKey}`;
154
};
155
static assertHash = (hash: string) => {
156
- if (!this.downloadedHash) {
+ if (!Pushy.downloadedHash) {
157
return;
158
}
159
- if (hash !== this.downloadedHash) {
+ if (hash !== Pushy.downloadedHash) {
160
log(`use downloaded hash ${Pushy.downloadedHash} first`);
161
162
0 commit comments