mirror of
https://github.com/revanced/revanced-static-api.git
synced 2025-04-29 22:24:37 +02:00
fix: Use correct generator namein example config
This commit is contained in:
parent
0ce6af1d45
commit
3181265623
@ -102,11 +102,11 @@ class ConnectionsGenerator(Generator):
|
|||||||
super().__init__("connections", api)
|
super().__init__("connections", api)
|
||||||
|
|
||||||
def generate(self, config, path):
|
def generate(self, config, path):
|
||||||
new_social = config["connections"]
|
new_connections = config["connections"]
|
||||||
|
|
||||||
social_path = join(path, f"connections.json")
|
connections_path = join(path, f"connections.json")
|
||||||
|
|
||||||
write_json(new_social, social_path)
|
write_json(new_connections, connections_path)
|
||||||
|
|
||||||
|
|
||||||
class TeamGenerator(Generator):
|
class TeamGenerator(Generator):
|
||||||
|
@ -10,9 +10,9 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"generators": [
|
"generators": [
|
||||||
"social"
|
"connections"
|
||||||
],
|
],
|
||||||
"socials": {
|
"connections": {
|
||||||
"website": "https://yourwebsite.com"
|
"website": "https://yourwebsite.com"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user