Commit e09ebd5
authored
fix(store): handle global scope in normalizeScope (#428)
normalizeScope had no case for "global", silently coercing it to
"project". Add "global" alongside "personal" in the switch so
mem_save/mem_update/HTTP API callers can create and upsert global
observations correctly.
Closes #1221 parent 69a26c8 commit e09ebd5
2 files changed
Lines changed: 31 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5816 | 5816 | | |
5817 | 5817 | | |
5818 | 5818 | | |
5819 | | - | |
5820 | | - | |
| 5819 | + | |
| 5820 | + | |
| 5821 | + | |
| 5822 | + | |
| 5823 | + | |
5821 | 5824 | | |
5822 | | - | |
5823 | 5825 | | |
5824 | 5826 | | |
5825 | 5827 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7716 | 7716 | | |
7717 | 7717 | | |
7718 | 7718 | | |
| 7719 | + | |
| 7720 | + | |
| 7721 | + | |
| 7722 | + | |
| 7723 | + | |
| 7724 | + | |
| 7725 | + | |
| 7726 | + | |
| 7727 | + | |
| 7728 | + | |
| 7729 | + | |
| 7730 | + | |
| 7731 | + | |
| 7732 | + | |
| 7733 | + | |
| 7734 | + | |
| 7735 | + | |
| 7736 | + | |
| 7737 | + | |
| 7738 | + | |
| 7739 | + | |
| 7740 | + | |
| 7741 | + | |
| 7742 | + | |
| 7743 | + | |
| 7744 | + | |
7719 | 7745 | | |
7720 | 7746 | | |
7721 | 7747 | | |
| |||
0 commit comments