@dnax/core 0.71.0 → 0.71.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/hono.ts +2 -2
- package/driver/mongo/rest.ts +1 -1
- package/package.json +1 -1
package/app/hono.ts
CHANGED
|
@@ -402,7 +402,7 @@ function HonoInstance(): typeof app {
|
|
|
402
402
|
auth: true,
|
|
403
403
|
performedBy: {
|
|
404
404
|
user: sessionStorage().get().state?.user,
|
|
405
|
-
role: sessionStorage().get()?.role
|
|
405
|
+
role: sessionStorage().get()?.role!,
|
|
406
406
|
},
|
|
407
407
|
},
|
|
408
408
|
state: sessionStorage().get().state,
|
|
@@ -438,7 +438,7 @@ function HonoInstance(): typeof app {
|
|
|
438
438
|
auth: true,
|
|
439
439
|
performedBy: {
|
|
440
440
|
user: sessionStorage().get().state?.user,
|
|
441
|
-
role: sessionStorage().get()?.role ||
|
|
441
|
+
role: sessionStorage().get()?.role || null,
|
|
442
442
|
},
|
|
443
443
|
},
|
|
444
444
|
|
package/driver/mongo/rest.ts
CHANGED