mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-01-10 23:51:01 -07:00
[API] Fix bug
This commit is contained in:
parent
d91a044da8
commit
0820a165a8
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ export const meta = {
|
||||||
export default define(meta, (ps, user) => new Promise(async (res, rej) => {
|
export default define(meta, (ps, user) => new Promise(async (res, rej) => {
|
||||||
const folders = await DriveFolder
|
const folders = await DriveFolder
|
||||||
.find({
|
.find({
|
||||||
name: name,
|
name: ps.name,
|
||||||
userId: user._id,
|
userId: user._id,
|
||||||
parentId: ps.parentId
|
parentId: ps.parentId
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue