Renamed Sidebar component and updated Node Version
This commit is contained in:
parent
ac25eb3708
commit
aaad32a51d
2 changed files with 3 additions and 3 deletions
pages/api
|
@ -3,7 +3,7 @@ import fsPromises from 'fs/promises'
|
|||
import path from 'path'
|
||||
import ReadyOrNotMap from '../../interfaces/ReadyOrNot'
|
||||
|
||||
export default async function TobarApi(req: any, res: any) {
|
||||
export default async function SidebarAPI(req: any, res: any) {
|
||||
try {
|
||||
// get list of all folders(maps) in the readyornot folder - maybe there is a cleaner way to do this?
|
||||
var fs = require('fs')
|
||||
|
|
Reference in a new issue