Skip to content

Commit 8e3c4a0

Browse files
Merge pull request #236 from lohanidamodar/fix-flutter-ouath
fix flutter oauth completing too early
2 parents 0b9a034 + aba068a commit 8e3c4a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/flutter/lib/services/service.dart.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ class {{ service.name | caseUcfirst }} extends Service {
7676
cookie.path = '/';
7777
List<Cookie> cookies = [cookie];
7878
await client.init();
79-
client.cookieJar.saveFromResponse(Uri.parse(client.endPoint), cookies);
79+
await client.cookieJar.saveFromResponse(Uri.parse(client.endPoint), cookies);
8080
});
8181
}
8282

0 commit comments

Comments
 (0)