mirror of
https://github.com/sct/overseerr.git
synced 2025-09-30 05:54:03 +02:00
fix(api): Use POST instead of GET for API endpoints that mutate state (#877)
This commit is contained in:
@@ -35,7 +35,7 @@ const Setup: React.FC = () => {
|
||||
|
||||
const finishSetup = async () => {
|
||||
setIsUpdating(false);
|
||||
const response = await axios.get<{ initialized: boolean }>(
|
||||
const response = await axios.post<{ initialized: boolean }>(
|
||||
'/api/v1/settings/initialize'
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user