mirror of
https://github.com/Freika/dawarich.git
synced 2026-02-04 21:19:09 -06:00
Move family location sharing to its own controller
This commit is contained in:
@@ -62,7 +62,7 @@ export default class extends Controller {
|
||||
try {
|
||||
const csrfToken = document.querySelector('meta[name="csrf-token"]').getAttribute('content');
|
||||
|
||||
const response = await fetch(`/api/v1/families/locations/toggle`, {
|
||||
const response = await fetch(`/family/location_sharing`, {
|
||||
method: 'PATCH',
|
||||
headers: {
|
||||
'Accept': 'application/json',
|
||||
|
||||
Reference in New Issue
Block a user