Skip to content

Commit

Permalink
fix(settings): Use correct type for ACL mapping search results
Browse files Browse the repository at this point in the history
Signed-off-by: provokateurin <[email protected]>
  • Loading branch information
provokateurin committed Sep 10, 2024
1 parent fd5febb commit 87ca542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/settings/Api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export class Api {
})
}

aclMappingSearch(folderId: number, search: string): Thenable<{groups: OCSGroup[], users: OCSUser[]}> {
aclMappingSearch(folderId: number, search: string): Thenable<{groups: ManageRuleProps[], users: ManageRuleProps[]}> {
return $.getJSON(this.getUrl(`folders/${folderId}/search?format=json&search=${search}`))
.then((data: OCSResult<{ groups: OCSGroup[]; users: OCSUser[]; }>) => {
return {
Expand Down

0 comments on commit 87ca542

Please sign in to comment.