File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ public AssetActions(IMondayApiClient client) {
11
11
this . client = client ;
12
12
}
13
13
14
- public async Task < IEnumerable < IEnumerable < IFileValueItem > > > GetItemFilesAsync ( string itemID , string columnID = null ) {
14
+ public async Task < IEnumerable < IEnumerable < IFileValueItem > > > GetItemFilesAsync ( string itemID , string [ ] columnIDs = null ) {
15
15
var query = new QueryQueryBuilder ( ) . WithItems (
16
16
new ItemQueryBuilder ( ) . WithColumnValues (
17
17
new ColumnValueQueryBuilder ( ) . WithAllScalarFields ( ) . WithFileValueFragment (
@@ -22,7 +22,7 @@ public async Task<IEnumerable<IEnumerable<IFileValueItem>>> GetItemFilesAsync(st
22
22
. WithFileLinkValueFragment ( new FileLinkValueQueryBuilder ( ) . WithAllScalarFields ( ) . ExceptCreatedAt ( ) )
23
23
)
24
24
) ,
25
- ids : new string [ ] { columnID } ,
25
+ ids : columnIDs ,
26
26
types : new ColumnType ? [ ] { ColumnType . File }
27
27
) ,
28
28
ids : new string [ ] { itemID }
Original file line number Diff line number Diff line change 4
4
5
5
namespace MondayApi . Assets {
6
6
public interface IAssetActions {
7
- Task < IEnumerable < IEnumerable < IFileValueItem > > > GetItemFilesAsync ( string itemID , string columnID = null ) ;
7
+ Task < IEnumerable < IEnumerable < IFileValueItem > > > GetItemFilesAsync ( string itemID , string [ ] columnID = null ) ;
8
8
Task < IEnumerable < Asset > > GetByItemAsync ( string itemID ) ;
9
9
Task < IEnumerable < Update > > GetByItemUpdatesAsync ( string itemID ) ;
10
10
Task < Asset > GetOneAsync ( string id ) ;
You can’t perform that action at this time.
0 commit comments