fix(backend): お知らせのmetaタグ出力の条件が間違っていたのを修正 (#15377)
* fix(backend): お知らせのmetaタグ出力の条件が間違っていたのを修正 * Update Changelog
This commit is contained in:
parent
ba9f295ef2
commit
40bfb1be09
|
@ -7,7 +7,7 @@
|
||||||
-
|
-
|
||||||
|
|
||||||
### Server
|
### Server
|
||||||
-
|
- Fix: 個別お知らせページのmetaタグ出力の条件が間違っていたのを修正
|
||||||
|
|
||||||
|
|
||||||
## 2025.1.0
|
## 2025.1.0
|
||||||
|
|
|
@ -817,6 +817,7 @@ export class ClientServerService {
|
||||||
fastify.get<{ Params: { announcementId: string; } }>('/announcements/:announcementId', async (request, reply) => {
|
fastify.get<{ Params: { announcementId: string; } }>('/announcements/:announcementId', async (request, reply) => {
|
||||||
const announcement = await this.announcementsRepository.findOneBy({
|
const announcement = await this.announcementsRepository.findOneBy({
|
||||||
id: request.params.announcementId,
|
id: request.params.announcementId,
|
||||||
|
userId: IsNull(),
|
||||||
});
|
});
|
||||||
|
|
||||||
if (announcement) {
|
if (announcement) {
|
||||||
|
|
Loading…
Reference in New Issue