kopia lustrzana https://github.com/nextcloud/social
add type to Note
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>pull/86/head
rodzic
f9f2b07d7e
commit
454237b5a8
|
@ -69,6 +69,7 @@ class NotesRequest extends NotesRequestBuilder {
|
|||
|
||||
$qb = $this->getNotesInsertSql();
|
||||
$qb->setValue('id', $qb->createNamedParameter($note->getId()))
|
||||
->setValue('type', $qb->createNamedParameter($note->getType()))
|
||||
->setValue('to', $qb->createNamedParameter($note->getTo()))
|
||||
->setValue(
|
||||
'to_array', $qb->createNamedParameter(
|
||||
|
|
|
@ -80,7 +80,7 @@ class NotesRequestBuilder extends CoreRequestBuilder {
|
|||
|
||||
/** @noinspection PhpMethodParametersCountMismatchInspection */
|
||||
$qb->select(
|
||||
'sn.id', 'sn.to', 'sn.to_array', 'sn.cc', 'sn.bcc', 'sn.content', 'sn.summary',
|
||||
'sn.id', 'sn.type', 'sn.to', 'sn.to_array', 'sn.cc', 'sn.bcc', 'sn.content', 'sn.summary',
|
||||
'sn.published', 'sn.published_time', 'sn.attributed_to', 'sn.in_reply_to', 'sn.source',
|
||||
'sn.local', 'sn.instances', 'sn.creation'
|
||||
)
|
||||
|
|
Ładowanie…
Reference in New Issue