Skip to content

Commit

Permalink
apparently the deprecated functional syntax did not receive this change
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Feb 10, 2025
1 parent dcefc95 commit ff4fce6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function generateGetPreUpgradeExecutedCanisterMethod(): QueryMethod {
globalDeclarations: [],
sourceCode: /*TS*/ `getPreUpgradeExecuted: query([], Opt(bool),() => {
const result = stable.get(PRE_UPGRADE_HOOK_EXECUTED)
if (result === undefined) {
if (result === null) {
return None
} else {
return Some(result)
Expand Down

0 comments on commit ff4fce6

Please sign in to comment.