Skip to content

Commit 95af0a2

Browse files
committed
refactor: simplify return statement in AdminForthRestAPI class
1 parent e7295c4 commit 95af0a2

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

adminforth/modules/restApi.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,10 +1482,7 @@ export default class AdminForthRestAPI implements IAdminForthRestAPI {
14821482
}
14831483
}
14841484

1485-
return {
1486-
...data,
1487-
options: resource?.options,
1488-
};
1485+
return data;
14891486
},
14901487
});
14911488
server.endpoint({

0 commit comments

Comments
 (0)