add nextjs and migrated api to next api

This commit is contained in:
Carl-Gerhard Lindesvärd
2023-10-12 23:19:02 +02:00
parent 7d474e8444
commit cef7fc6965
47 changed files with 1466 additions and 1 deletions

View File

@@ -54,7 +54,7 @@ class Fetcher {
>()
if('status' in response && response.status === 'error') {
this.logger(`Mixan request failed: ${url}`, JSON.stringify(response, null, 2))
this.logger(`Mixan request failed: [${options.method || 'POST'}] ${url}`, JSON.stringify(response, null, 2))
return null
}