mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 21:29:08 +00:00
Remove email query parameter from subscription patch api
This commit is contained in:
@@ -594,7 +594,7 @@ export default function SettingsView() {
|
||||
|
||||
const setSubscription = async (state: string) => {
|
||||
try {
|
||||
const url = `/api/subscription?email=${userConfig?.username}&operation=${state}`;
|
||||
const url = `/api/subscription?operation=${state}`;
|
||||
const response = await fetch(url, {
|
||||
method: "PATCH",
|
||||
headers: {
|
||||
|
||||
Reference in New Issue
Block a user