Skip to content

Commit

Permalink
Fix: misskey-dev#10955 TypeError: JSON5.parse is not a function (miss…
Browse files Browse the repository at this point in the history
…key-dev#10956)

* Fix: JSON5.parse is not a function

* update changelog

* update chglog

---------

Co-authored-by: tamaina <[email protected]>
  • Loading branch information
2 people authored and hideki0403 committed Jun 5, 2023
1 parent 7bf73e3 commit 9c855c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
-->

## 13.13.1 (unreleased)

### Server
- Fix: api/metaで`TypeError: JSON5.parse is not a function`エラーが発生する問題を修正

## 13.13.0

### General
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/server/api/endpoints/meta.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { IsNull, LessThanOrEqual, MoreThan } from 'typeorm';
import { Inject, Injectable } from '@nestjs/common';
import * as JSON5 from 'json5';
import JSON5 from 'json5';
import type { AdsRepository, UsersRepository } from '@/models/index.js';
import { MAX_NOTE_TEXT_LENGTH } from '@/const.js';
import { Endpoint } from '@/server/api/endpoint-base.js';
Expand Down

0 comments on commit 9c855c7

Please sign in to comment.