Commit 8a59875
Will Taylor-Jackson
fix: don't cast scopes as an array
Because it's already an array when it comes back from MongoDB - accessing `$token->scopes` without this change throws an error because it's trying to cast from a MySQL json-encoded array
```
json_decode() expects parameter 1 to be string, array given
```1 parent 223df33 commit 8a59875
1 file changed
+0
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
0 commit comments