mirror of
https://github.com/IT4Change/gradido.git
synced 2026-04-06 01:25:28 +00:00
fix lint
This commit is contained in:
parent
087a1f1070
commit
280595bb7c
@ -46,7 +46,7 @@ async function bootstrapCommunities(context: Context): Promise<Map<string, Commu
|
|||||||
if (communityDb.userMinCreatedAt && communityDb.userMinCreatedAt < communityDb.creationDate) {
|
if (communityDb.userMinCreatedAt && communityDb.userMinCreatedAt < communityDb.creationDate) {
|
||||||
// create community root transaction 1 minute before first user
|
// create community root transaction 1 minute before first user
|
||||||
creationDate = new Date(new Date(communityDb.userMinCreatedAt).getTime() - 1000 * 60)
|
creationDate = new Date(new Date(communityDb.userMinCreatedAt).getTime() - 1000 * 60)
|
||||||
}
|
}
|
||||||
// community from db to community format the dlt connector normally uses
|
// community from db to community format the dlt connector normally uses
|
||||||
const community = communityDbToCommunity(topicId, communityDb, creationDate)
|
const community = communityDbToCommunity(topicId, communityDb, creationDate)
|
||||||
await addCommunityRootTransaction(blockchain, community)
|
await addCommunityRootTransaction(blockchain, community)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user