Skip to content

Commit

Permalink
fix: fix typo error
Browse files Browse the repository at this point in the history
  • Loading branch information
ninoseki committed Jan 14, 2024
1 parent fbed3f3 commit 89ef9ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import axios from "axios"
import type {
Alert,
Alerts,
Artifact,
Artifacts,
ArtifactWithTags,
Config,
CreateRule,
IPInfo,
Expand Down Expand Up @@ -48,8 +48,8 @@ export const API = {
return res.data
},

async getArtifact(id: number): Promise<ArtifactWithTags> {
const res = await client.get<ArtifactWithTags>(`/api/artifacts/${id}`)
async getArtifact(id: number): Promise<Artifact> {
const res = await client.get<Artifact>(`/api/artifacts/${id}`)
return res.data
},

Expand Down

0 comments on commit 89ef9ce

Please sign in to comment.