Skip to content

Commit

Permalink
Fix log error
Browse files Browse the repository at this point in the history
  • Loading branch information
shinta-liem committed Oct 20, 2023
1 parent 5cb1cd4 commit 2c4b086
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion server/extension.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// extension.ts
var extension_default = {
init: (ctx) => {
ctx.log.info("Omni Extension Template loaded");
ctx.app.info("Omni Extension Template loaded");
}
};
export {
Expand Down
2 changes: 1 addition & 1 deletion src/server/extension.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export default {
init: (ctx: any) => {
ctx.log.info('Omni Extension Template loaded')
ctx.app.info('Omni Extension Template loaded')
}
}

0 comments on commit 2c4b086

Please sign in to comment.