mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
chore: remove jwt secret env variable (#3291)
This commit is contained in:
@ -27,13 +27,11 @@ class SupabaseConfiguration {
|
||||
final bool enable_sync;
|
||||
final String url;
|
||||
final String anon_key;
|
||||
final String jwt_secret;
|
||||
|
||||
SupabaseConfiguration({
|
||||
this.enable_sync = true,
|
||||
required this.url,
|
||||
required this.anon_key,
|
||||
required this.jwt_secret,
|
||||
});
|
||||
|
||||
factory SupabaseConfiguration.fromJson(Map<String, dynamic> json) =>
|
||||
|
@ -22,7 +22,6 @@ SupabaseConfiguration _$SupabaseConfigurationFromJson(
|
||||
enable_sync: json['enable_sync'] as bool? ?? true,
|
||||
url: json['url'] as String,
|
||||
anon_key: json['anon_key'] as String,
|
||||
jwt_secret: json['jwt_secret'] as String,
|
||||
);
|
||||
|
||||
Map<String, dynamic> _$SupabaseConfigurationToJson(
|
||||
@ -31,5 +30,4 @@ Map<String, dynamic> _$SupabaseConfigurationToJson(
|
||||
'enable_sync': instance.enable_sync,
|
||||
'url': instance.url,
|
||||
'anon_key': instance.anon_key,
|
||||
'jwt_secret': instance.jwt_secret,
|
||||
};
|
||||
|
Reference in New Issue
Block a user