Commit 35fa931
committed
fix(data): correct admin user seeding logic
Fixes a bug in `DatabaseSeedingService` where the code was incorrectly attempting to access properties on a `User` object as if it were a `Map`. The logic now correctly accesses the `.roles` property and uses the `User` object from the fixture list directly.1 parent 31bddd2 commit 35fa931
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
259 | | - | |
| 258 | + | |
| 259 | + | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
263 | 262 | | |
264 | 263 | | |
265 | 264 | | |
| |||
0 commit comments