mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Shorter server command names
This commit is contained in:
parent
d23dd9fbfc
commit
89d241a79c
155 changed files with 2508 additions and 2508 deletions
|
@ -24,8 +24,8 @@ function setKeysOfServer (onServer: ServerInfo, ofServer: ServerInfo, publicKey:
|
|||
const url = 'http://localhost:' + ofServer.port + '/accounts/peertube'
|
||||
|
||||
return Promise.all([
|
||||
onServer.sqlCommand.setActorField(url, 'publicKey', publicKey),
|
||||
onServer.sqlCommand.setActorField(url, 'privateKey', privateKey)
|
||||
onServer.sql.setActorField(url, 'publicKey', publicKey),
|
||||
onServer.sql.setActorField(url, 'privateKey', privateKey)
|
||||
])
|
||||
}
|
||||
|
||||
|
@ -33,8 +33,8 @@ function setUpdatedAtOfServer (onServer: ServerInfo, ofServer: ServerInfo, updat
|
|||
const url = 'http://localhost:' + ofServer.port + '/accounts/peertube'
|
||||
|
||||
return Promise.all([
|
||||
onServer.sqlCommand.setActorField(url, 'createdAt', updatedAt),
|
||||
onServer.sqlCommand.setActorField(url, 'updatedAt', updatedAt)
|
||||
onServer.sql.setActorField(url, 'createdAt', updatedAt),
|
||||
onServer.sql.setActorField(url, 'updatedAt', updatedAt)
|
||||
])
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue