Add excludeNsfw option
This commit is contained in:
parent
5da18ba535
commit
afdacf14b7
5 changed files with 29 additions and 0 deletions
|
|
@ -187,6 +187,7 @@ export default Vue.extend({
|
|||
|
||||
(this as any).api('notes/local-timeline', {
|
||||
fileType: image,
|
||||
excludeNsfw: true,
|
||||
limit: 6
|
||||
}).then((notes: any[]) => {
|
||||
const files = concat(notes.map((n: any): any[] => n.files));
|
||||
|
|
|
|||
|
|
@ -111,6 +111,7 @@ export default Vue.extend({
|
|||
|
||||
(this as any).api('notes/local-timeline', {
|
||||
fileType: image,
|
||||
excludeNsfw: true,
|
||||
limit: 6
|
||||
}).then((notes: any[]) => {
|
||||
const files = concat(notes.map((n: any): any[] => n.files));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue