Renamed Sidebar component and updated Node Version

This commit is contained in:
Neshura 2022-12-14 18:39:39 +01:00
parent ac25eb3708
commit aaad32a51d
No known key found for this signature in database
GPG key ID: ACDF5B6EBECF6B0A
2 changed files with 3 additions and 3 deletions
pages/api

View file

@ -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')