1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 22:09:06 +00:00

[compass_app/server] Misc consistency improvements (#2539)

This commit is contained in:
Parker Lougheed
2024-12-05 21:38:44 +08:00
committed by GitHub
parent c3c93a82f5
commit 754ddf0375
5 changed files with 8 additions and 7 deletions

View File

@@ -21,7 +21,7 @@ void main() {
final host = 'http://127.0.0.1:$port';
late Process p;
var headers = {
final headers = {
'Authorization': 'Bearer ${Constants.token}',
};
@@ -116,7 +116,7 @@ void main() {
headers: headers,
body: jsonEncode(
Booking(
name: "DESTINATION, CONTINENT",
name: 'DESTINATION, CONTINENT',
startDate: DateTime(2024, 1, 1),
endDate: DateTime(2024, 2, 2),
destinationRef: 'REF',
@@ -139,7 +139,7 @@ void main() {
headers: headers,
body: jsonEncode(
Booking(
name: "DESTINATION, CONTINENT",
name: 'DESTINATION, CONTINENT',
startDate: DateTime(2024, 1, 1),
endDate: DateTime(2024, 2, 2),
destinationRef: 'REF',