Remove API key header from server requests in server_service and supabase_heartbeat
This commit is contained in:
@@ -48,7 +48,6 @@ class ServerService {
|
|||||||
Uri.parse(serverManagerUrl),
|
Uri.parse(serverManagerUrl),
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'apikey': fromEnivronment('SUPABASE_ANON_KEY')!,
|
|
||||||
},
|
},
|
||||||
body: jsonEncode(requestBody),
|
body: jsonEncode(requestBody),
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -48,7 +48,6 @@ void initHeartbeat() {
|
|||||||
Uri.parse(serverManagerUrl),
|
Uri.parse(serverManagerUrl),
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
'apikey': fromEnivronment('SUPABASE_ANON_KEY')!,
|
|
||||||
},
|
},
|
||||||
body: jsonEncode(heartbeatData),
|
body: jsonEncode(heartbeatData),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user