Add excludeNsfw option
This commit is contained in:
@ -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));
|
||||
|
Reference in New Issue
Block a user