[Sync] DocumentTokenFactory -> BuildTokenFactory
This commit is contained in:
1 parent
46968ef0cf
commit
8d87a50365
2 files changed
+5
-5
No files matched your search
@@ -16,9 +16,9 @@ class TokenFactory:
|
||||
return self.token(data=data)
|
||||
|
||||
|
||||
class DocumentTokenFactory(TokenFactory):
|
||||
def __init__(self, build) -> None:
|
||||
super().__init__(DocumentToken)
|
||||
class BuildTokenFactory(TokenFactory):
|
||||
def __init__(self, token, build) -> None:
|
||||
super().__init__(token)
|
||||
self.build = build
|
||||
|
||||
def create(self, data):
|
||||
|
||||
Reference in new issue
Block a user