add $ prefix for top param
Suggested by OneDrive API doc: > be consistent throughout the request with your usage of > the $ character on these arguments
This commit is contained in:
parent
2d2beadbba
commit
303bea15fd
1 changed files with 1 additions and 1 deletions
|
@ -257,7 +257,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
|
|||
params: {
|
||||
...{
|
||||
select: 'name,size,id,lastModifiedDateTime,folder,file,video,image',
|
||||
top: siteConfig.maxItems,
|
||||
$top: siteConfig.maxItems,
|
||||
},
|
||||
...(next ? { $skipToken: next } : {}),
|
||||
...(sort ? { $orderby: sort } : {}),
|
||||
|
|
Loading…
Reference in a new issue