Skip to content

Commit

Permalink
chore : update initHajarmodule
Browse files Browse the repository at this point in the history
  • Loading branch information
Mansourkira committed Mar 19, 2024
1 parent 38b30e0 commit 3a05ce0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion www/src/@sikka/hajar/core/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ async function getClientData(user) {
return null;
}

export default {
export {
initHajar,
getUserType,
getAdminData,
Expand Down
5 changes: 3 additions & 2 deletions www/src/@sikka/hajar/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import initHajar from "./core/init.js";
import * as initHajarModule from "./core/init.js";
import auth from "./core/auth/index.js";
import { version as _version } from "../../../../package.json";

const hajar = {
initHajar,
...initHajarModule,
auth,
version: _version,
};
Expand Down

0 comments on commit 3a05ce0

Please sign in to comment.