mirror of
https://gitlab.com/spaceti-app/integrations/acs/colnod-connector.git
synced 2026-07-12 12:00:37 +02:00
fix formating
This commit is contained in:
parent
08afae47aa
commit
9d7e05635e
@ -22,8 +22,8 @@ class AuthToken : public serversdk::DatabaseTable {
|
||||
class Timestamp : public serversdk::DatabaseTable {
|
||||
Q_OBJECT
|
||||
TABLE_PROPERTY(qint64, timestamp, setTimestamp, 0)
|
||||
public:
|
||||
Timestamp() = default;
|
||||
public:
|
||||
Timestamp() = default;
|
||||
|
||||
void setTimestamp(QDateTime time)
|
||||
{
|
||||
|
||||
@ -67,7 +67,7 @@ bool DatabaseAPI::processData(const std::shared_ptr<Data> &data)
|
||||
!data->updatedSubjects.isEmpty() ||
|
||||
!data->deletedTokens.isEmpty() ||
|
||||
!data->deletedSubjects.isEmpty()) {
|
||||
qInfo(database) << dash;
|
||||
qInfo(database) << dash;
|
||||
}
|
||||
qInfo(database) << tab << "-> DATA PROCESSED TO DATABASE:";
|
||||
qInfo(database) << tab << tab << data->updatedTokens.size() << "TOKENS ADDED/UPDATED";
|
||||
|
||||
@ -129,8 +129,8 @@ bool SyncManager::startSynchronization()
|
||||
else {
|
||||
database->setLastSync(syncBegin);
|
||||
qInfo(syncmanager).noquote() << "Update last synchronization time to time of this sync ("
|
||||
<< QDateTime::fromMSecsSinceEpoch(syncBegin).toString("yyyy-MM-dd hh:mm:ss.zzz")
|
||||
<< ")";
|
||||
<< QDateTime::fromMSecsSinceEpoch(syncBegin).toString("yyyy-MM-dd hh:mm:ss.zzz")
|
||||
<< ")";
|
||||
}
|
||||
|
||||
qInfo(syncmanager) << equals;
|
||||
|
||||
@ -26,18 +26,18 @@ class Token : public serversdk::DatabaseTable {
|
||||
|
||||
|
||||
|
||||
public:
|
||||
/**
|
||||
* # Needed values to proper sync
|
||||
*
|
||||
* * id - primary key
|
||||
* * lastModified - when it was edited/modified
|
||||
* * tokenData - key to open doors
|
||||
* * subjectId - no way of make unassinged token (token without subject)
|
||||
*
|
||||
*/
|
||||
public:
|
||||
/**
|
||||
* # Needed values to proper sync
|
||||
*
|
||||
* * id - primary key
|
||||
* * lastModified - when it was edited/modified
|
||||
* * tokenData - key to open doors
|
||||
* * subjectId - no way of make unassinged token (token without subject)
|
||||
*
|
||||
*/
|
||||
|
||||
explicit Token() = default;
|
||||
explicit Token() = default;
|
||||
~Token() override;
|
||||
|
||||
QByteArray jsonData(const QSet<QString> &filters = {}) const override;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user